4 * Created on: Apr 8, 2012
8 #ifndef APP_APPLICATIONSTATE_H_
9 #define APP_APPLICATIONSTATE_H_
25 /// @param ctrl the Application running the state
26 virtual void EnterState(Application &ctrl, SDL_Surface *screen) = 0;
27 virtual void ExitState() = 0;
29 /// adapt the state's graphics to given dimensions
30 virtual void Resize(int width, int height) = 0;
32 virtual void HandleInput(const Input &) = 0;
33 virtual void UpdateWorld(float deltaT) = 0;
34 virtual void Render(SDL_Surface *) = 0;
40 #endif /* APP_STATE_H_ */