demo memory leak fix
This commit is contained in:
1 parent
347fdb240b
commit
834d57ea32
10 files changed
+242
-62
No files matched your search
@@ -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