demo memory leak fix

This commit is contained in:
h4570
2022-07-31 11:52:49 +02:00
parent 347fdb240b
commit 834d57ea32
10 changed files with 242 additions and 62 deletions
+1
View File
@@ -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();