1 #ifndef BATTLE_SELECTIKARI_H_
2 #define BATTLE_SELECTIKARI_H_
6 class SelectAttackType;
9 #include "../../app/State.h"
10 #include "../../math/Vector.h"
14 // TODO: looks like item, spell, and ikari select can be merged into one class
19 SelectIkari(BattleState *battle, SelectAttackType *parent)
20 : battle(battle), parent(parent) { }
23 virtual void HandleEvents(const app::Input &);
24 virtual void UpdateWorld(Uint32 deltaT);
25 virtual void Render(SDL_Surface *);
28 virtual void OnEnterState(SDL_Surface *screen);
29 virtual void OnExitState(SDL_Surface *screen);
30 virtual void OnResumeState(SDL_Surface *screen);
31 virtual void OnPauseState(SDL_Surface *screen);
33 virtual void OnResize(int width, int height);
36 void RenderFrame(SDL_Surface *);
37 void RenderHeadline(SDL_Surface *);
38 void RenderMenu(SDL_Surface *);
42 SelectAttackType *parent;
43 math::Vector<int> framePosition;
44 math::Vector<int> frameSize;
45 math::Vector<int> headlinePosition;
46 math::Vector<int> menuPosition;