]> git.localhorst.tv Git - l2e.git/blobdiff - src/app/Application.h
better handling of nested state changes
[l2e.git] / src / app / Application.h
index cf1261b28f1a8c8799c3ce8aa2a5217af9ef3ab2..41198bce88c4f2e4f5ca1a7c07c8af9c713d9c8b 100644 (file)
@@ -8,6 +8,7 @@
 #ifndef APP_APPLICATION_H_
 #define APP_APPLICATION_H_
 
+#include "fwd.h"
 #include "Input.h"
 #include "Timer.h"
 #include "../sdl/InitScreen.h"
@@ -19,8 +20,6 @@
 
 namespace app {
 
-class State;
-
 class Application {
 
 public:
@@ -72,6 +71,7 @@ private:
        Timers<Uint32> globalTimers;
        Input input;
        Uint32 last;
+       bool inStateChage;
 
 };