1 #ifndef BATTLE_SELECTSPELL_H_
2 #define BATTLE_SELECTSPELL_H_
6 class SelectAttackType;
9 #include "../../app/State.h"
10 #include "../../math/Vector.h"
18 SelectSpell(Battle *battle, SelectAttackType *parent);
21 virtual void HandleEvents(const app::Input &);
22 virtual void UpdateWorld(Uint32 deltaT);
23 virtual void Render(SDL_Surface *);
26 virtual void OnEnterState(SDL_Surface *screen);
27 virtual void OnExitState(SDL_Surface *screen);
28 virtual void OnResumeState(SDL_Surface *screen);
29 virtual void OnPauseState(SDL_Surface *screen);
31 virtual void OnResize(int width, int height);
34 void RenderFrame(SDL_Surface *);
35 void RenderHeadline(SDL_Surface *);
36 void RenderMenu(SDL_Surface *);
40 SelectAttackType *parent;
41 math::Vector<int> framePosition;
42 math::Vector<int> frameSize;
43 math::Vector<int> headlinePosition;
44 math::Vector<int> menuPosition;