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