This commit is contained in:
Bobby Lucero 2024-04-26 21:23:38 -04:00
parent 5845ad2e8d
commit 603d764c15
2 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,7 @@
StateManager::StateManager(Pycron *pycron) : m_pycron(pycron){
m_gameState = new GameState(this, m_pycron->m_vm);
m_currentState = nullptr;
RequestStateChange(GAME);
}

View File

@ -5,6 +5,7 @@
#include "GameState.h"
#include <fstream>
#include <sstream>
#include <filesystem>
GameState::GameState(StateManager *stateManager, pkpy::VM* vm) : State(stateManager), m_vm(vm){
m_updateFunction = nullptr;