4 * Created on: Apr 8, 2012
8 #ifndef APP_APPLICATIONSTATE_H_
9 #define APP_APPLICATIONSTATE_H_
21 virtual ~State(void) { };
24 virtual void EnterState(Control *ctrl, SDL_Surface *screen) = 0;
25 virtual void ExitState(void) = 0;
27 virtual void HandleEvent(const SDL_Event &) = 0;
28 virtual void UpdateWorld(const Timer &) = 0;
29 virtual void Render(SDL_Surface *) = 0;
35 #endif /* APP_STATE_H_ */