4 * Created on: Sep 29, 2012
8 #ifndef MAP_MAPSTATE_H_
9 #define MAP_MAPSTATE_H_
12 #include "../app/State.h"
13 #include "../geometry/Vector.h"
14 #include "../graphics/Camera.h"
22 explicit MapState(const Map *);
23 virtual ~MapState() { }
26 virtual void EnterState(app::Application &ctrl, SDL_Surface *screen);
27 virtual void ExitState(app::Application &ctrl, SDL_Surface *screen);
28 virtual void ResumeState(app::Application &ctrl, SDL_Surface *screen);
29 virtual void PauseState(app::Application &ctrl, SDL_Surface *screen);
30 virtual void Resize(int width, int height);
32 virtual void HandleEvents(const app::Input &);
33 virtual void UpdateWorld(float deltaT);
34 virtual void Render(SDL_Surface *);
38 geometry::Vector<int> tempTarget;
39 graphics::Camera camera;
45 #endif /* MAP_MAPSTATE_H_ */