]> git.localhorst.tv Git - l2e.git/blob - src/map/TransitionState.h
removed useless comments
[l2e.git] / src / map / TransitionState.h
1 #ifndef MAP_TRANSITIONSTATE_H_
2 #define MAP_TRANSITIONSTATE_H_
3
4 namespace map {
5         class Map;
6         class MapState;
7 }
8 namespace math {
9         template<class>
10         class Vector;
11 }
12
13 #include "../app/State.h"
14
15 namespace map {
16
17 class TransitionState
18 : public app::State {
19
20 public:
21         TransitionState(MapState *, Map *, const math::Vector<int> &);
22         virtual ~TransitionState() { }
23
24 public:
25         virtual void HandleEvents(const app::Input &);
26         virtual void UpdateWorld(Uint32 deltaT);
27         virtual void Render(SDL_Surface *);
28
29 private:
30         virtual void OnEnterState(SDL_Surface *screen);
31         virtual void OnExitState(SDL_Surface *screen);
32         virtual void OnResumeState(SDL_Surface *screen);
33         virtual void OnPauseState(SDL_Surface *screen);
34
35         virtual void OnResize(int width, int height);
36
37 private:
38         MapState *ms;
39         Map *map;
40         const math::Vector<int> &coordinates;
41
42 };
43
44 }
45
46 #endif