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