X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fapp%2FApplication.h;h=cf1261b28f1a8c8799c3ce8aa2a5217af9ef3ab2;hb=69ed4a9c725c438079ceeed89d49656d808308ce;hp=5e9e88838dfb05db9ae0dc4d11dc64dacd8b7275;hpb=25d7499f7923291d7287123320e7563a367e92e7;p=l2e.git diff --git a/src/app/Application.h b/src/app/Application.h index 5e9e888..cf1261b 100644 --- a/src/app/Application.h +++ b/src/app/Application.h @@ -9,6 +9,7 @@ #define APP_APPLICATION_H_ #include "Input.h" +#include "Timer.h" #include "../sdl/InitScreen.h" #include @@ -40,6 +41,7 @@ public: void Quit(); Input &Buttons() { return input; } const Input &Buttons() const { return input; } + Timers &GlobalTimers() { return globalTimers; } private: struct StateCommand { @@ -67,6 +69,7 @@ private: sdl::InitScreen *screen; std::stack states; std::queue stateChanges; + Timers globalTimers; Input input; Uint32 last;