1 #ifndef BATTLE_SWAPHEROES_H_
2 #define BATTLE_SWAPHEROES_H_
6 class SelectMoveAction;
9 #include "../../app/State.h"
10 #include "../../math/Vector.h"
20 SwapHeroes(Battle *battle, SelectMoveAction *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);
42 void RenderCursors(SDL_Surface *screen);
46 SelectMoveAction *parent;
47 std::vector<math::Vector<int> > positions;
48 math::Vector<int> cursorOffset;
49 math::Vector<int> indicatorOffset;