4 * Created on: Aug 8, 2012
8 #ifndef BATTLE_SELECTSPELL_H_
9 #define BATTLE_SELECTSPELL_H_
13 class SelectAttackType;
20 #include "../../app/State.h"
28 SelectSpell(BattleState *battle, SelectAttackType *parent)
29 : battle(battle), parent(parent) { }
32 virtual void HandleEvents(const app::Input &);
33 virtual void UpdateWorld(Uint32 deltaT);
34 virtual void Render(SDL_Surface *);
37 virtual void OnEnterState(SDL_Surface *screen);
38 virtual void OnExitState(SDL_Surface *screen);
39 virtual void OnResumeState(SDL_Surface *screen);
40 virtual void OnPauseState(SDL_Surface *screen);
42 virtual void OnResize(int width, int height);
45 void RenderFrame(SDL_Surface *, const math::Vector<int> &offset);
46 void RenderHeadline(SDL_Surface *, const math::Vector<int> &offset);
47 void RenderMenu(SDL_Surface *, const math::Vector<int> &offset);
51 SelectAttackType *parent;
57 #endif /* BATTLE_SELECTSPELL_H_ */