4 * Created on: Aug 9, 2012
8 #ifndef BATTLE_SELECTIKARI_H_
9 #define BATTLE_SELECTIKARI_H_
13 class SelectAttackType;
20 #include "../../app/State.h"
24 // TODO: looks like item, spell, and ikari select can be merged into one class
29 SelectIkari(BattleState *battle, SelectAttackType *parent)
30 : battle(battle), parent(parent) { }
33 virtual void HandleEvents(const app::Input &);
34 virtual void UpdateWorld(Uint32 deltaT);
35 virtual void Render(SDL_Surface *);
38 virtual void OnEnterState(SDL_Surface *screen);
39 virtual void OnExitState(SDL_Surface *screen);
40 virtual void OnResumeState(SDL_Surface *screen);
41 virtual void OnPauseState(SDL_Surface *screen);
43 virtual void OnResize(int width, int height);
46 void RenderFrame(SDL_Surface *, const math::Vector<int> &offset);
47 void RenderHeadline(SDL_Surface *, const math::Vector<int> &offset);
48 void RenderMenu(SDL_Surface *, const math::Vector<int> &offset);
52 SelectAttackType *parent;
58 #endif /* BATTLE_SELECTIKARI_H_ */