bugs
This commit is contained in:
parent
5845ad2e8d
commit
603d764c15
@ -6,6 +6,7 @@
|
|||||||
|
|
||||||
StateManager::StateManager(Pycron *pycron) : m_pycron(pycron){
|
StateManager::StateManager(Pycron *pycron) : m_pycron(pycron){
|
||||||
m_gameState = new GameState(this, m_pycron->m_vm);
|
m_gameState = new GameState(this, m_pycron->m_vm);
|
||||||
|
m_currentState = nullptr;
|
||||||
RequestStateChange(GAME);
|
RequestStateChange(GAME);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -5,6 +5,7 @@
|
|||||||
#include "GameState.h"
|
#include "GameState.h"
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
#include <filesystem>
|
||||||
|
|
||||||
GameState::GameState(StateManager *stateManager, pkpy::VM* vm) : State(stateManager), m_vm(vm){
|
GameState::GameState(StateManager *stateManager, pkpy::VM* vm) : State(stateManager), m_vm(vm){
|
||||||
m_updateFunction = nullptr;
|
m_updateFunction = nullptr;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user