4 * Created on: Aug 8, 2012
8 #ifndef BATTLE_SELECTSPELL_H_
9 #define BATTLE_SELECTSPELL_H_
12 #include "../../app/State.h"
13 #include "../../geometry/Vector.h"
21 SelectSpell(BattleState *battle, SelectAttackType *parent)
22 : battle(battle), parent(parent) { }
25 virtual void HandleEvents(const app::Input &);
26 virtual void UpdateWorld(float deltaT);
27 virtual void Render(SDL_Surface *);
30 virtual void OnEnterState(SDL_Surface *screen);
31 virtual void OnExitState(SDL_Surface *screen);
32 virtual void OnResumeState(SDL_Surface *screen);
33 virtual void OnPauseState(SDL_Surface *screen);
35 virtual void OnResize(int width, int height);
38 void RenderFrame(SDL_Surface *, const geometry::Vector<int> &offset);
39 void RenderHeadline(SDL_Surface *, const geometry::Vector<int> &offset);
40 void RenderMenu(SDL_Surface *, const geometry::Vector<int> &offset);
44 SelectAttackType *parent;
50 #endif /* BATTLE_SELECTSPELL_H_ */