demo memory leak fix
This commit is contained in:
@@ -36,6 +36,7 @@ class IntroState : public State<GlobalStateType> {
|
||||
private:
|
||||
GlobalStateType state;
|
||||
bool _wantFinish;
|
||||
bool initialized;
|
||||
|
||||
StateManager<IntroStateType> stateManager;
|
||||
};
|
||||
|
||||
@@ -33,11 +33,11 @@ class IntroPressKeyState : public State<IntroStateType> {
|
||||
|
||||
void onStart();
|
||||
|
||||
void update();
|
||||
|
||||
/** @return Next game state */
|
||||
IntroStateType onFinish();
|
||||
|
||||
void update();
|
||||
|
||||
private:
|
||||
void renderFiller();
|
||||
void updateMap();
|
||||
|
||||
Reference in New Issue
Block a user