]> git.localhorst.tv Git - l2e.git/blob - src/map/TransitionState.h
commented headers in app/ directory
[l2e.git] / src / map / TransitionState.h
1 /*
2  * TransitionState.h
3  *
4  *  Created on: Oct 7, 2012
5  *      Author: holy
6  */
7
8 #ifndef MAP_TRANSITIONSTATE_H_
9 #define MAP_TRANSITIONSTATE_H_
10
11 #include "fwd.h"
12 #include "../app/State.h"
13 #include "../geometry/Vector.h"
14
15 namespace map {
16
17 class TransitionState
18 : public app::State {
19
20 public:
21         TransitionState(MapState *, Map *, const geometry::Vector<int> &);
22         virtual ~TransitionState() { }
23
24 public:
25         virtual void EnterState(app::Application &ctrl, SDL_Surface *screen);
26         virtual void ExitState(app::Application &ctrl, SDL_Surface *screen);
27         virtual void ResumeState(app::Application &ctrl, SDL_Surface *screen);
28         virtual void PauseState(app::Application &ctrl, SDL_Surface *screen);
29
30         virtual void Resize(int width, int height);
31
32         virtual void HandleEvents(const app::Input &);
33         virtual void UpdateWorld(float deltaT);
34         virtual void Render(SDL_Surface *);
35
36 private:
37         app::Application *ctrl;
38         MapState *ms;
39         Map *map;
40         const geometry::Vector<int> &coordinates;
41
42 };
43
44 }
45
46 #endif /* MAP_TRANSITIONSTATE_H_ */