1 #ifndef BATTLE_SELECTTARGET_H_
2 #define BATTLE_SELECTTARGET_H_
6 class SelectAttackType;
17 #include "../../app/State.h"
25 SelectTarget(BattleState *battle, SelectAttackType *parent, TargetSelection *selection, const graphics::Sprite *cursorIcon)
26 : battle(battle), parent(parent), selection(selection), cursorIcon(cursorIcon), flipFlop(true) { }
29 virtual void HandleEvents(const app::Input &);
30 virtual void UpdateWorld(Uint32 deltaT);
31 virtual void Render(SDL_Surface *);
34 virtual void OnEnterState(SDL_Surface *screen);
35 virtual void OnExitState(SDL_Surface *screen);
36 virtual void OnResumeState(SDL_Surface *screen);
37 virtual void OnPauseState(SDL_Surface *screen);
39 virtual void OnResize(int width, int height);
42 void RenderCursors(SDL_Surface *screen, const math::Vector<int> &offset);
46 SelectAttackType *parent;
47 TargetSelection *selection;
48 const graphics::Sprite *cursorIcon;