X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fapp%2FState.h;h=958e423c508b1dffd4d2a6562bb4ba90051894c1;hb=2a1d9169e1f6c2dfe0f93ed40d5fb68d3da342af;hp=b4c26d047cd7c88429e62d56a164be048fdcd7aa;hpb=bce16ed519add0d5398d504d2554395c43c74571;p=l2e.git diff --git a/src/app/State.h b/src/app/State.h index b4c26d0..958e423 100644 --- a/src/app/State.h +++ b/src/app/State.h @@ -8,15 +8,13 @@ #ifndef APP_APPLICATIONSTATE_H_ #define APP_APPLICATIONSTATE_H_ +#include "fwd.h" #include "Timer.h" #include namespace app { -class Application; -class Input; - class State { public: @@ -38,7 +36,7 @@ public: /// adapt the state's graphics to given dimensions virtual void Resize(int width, int height) = 0; - virtual void HandleInput(const Input &) = 0; + virtual void HandleEvents(const Input &) = 0; virtual void UpdateWorld(float deltaT) = 0; virtual void Render(SDL_Surface *) = 0;