4 * Created on: Aug 8, 2012
8 #ifndef BATTLE_SELECTSPELL_H_
9 #define BATTLE_SELECTSPELL_H_
11 #include "../../app/State.h"
16 class SelectAttackType;
22 SelectSpell(BattleState *battle, SelectAttackType *parent)
23 : ctrl(0), battle(battle), parent(parent) { }
26 virtual void EnterState(app::Application &ctrl, SDL_Surface *screen);
27 virtual void ExitState(app::Application &ctrl, SDL_Surface *screen);
28 virtual void ResumeState(app::Application &ctrl, SDL_Surface *screen);
29 virtual void PauseState(app::Application &ctrl, SDL_Surface *screen);
31 virtual void Resize(int width, int height);
33 virtual void HandleInput(const app::Input &);
34 virtual void UpdateWorld(float deltaT);
35 virtual void Render(SDL_Surface *);
38 app::Application *ctrl;
40 SelectAttackType *parent;
46 #endif /* BATTLE_SELECTSPELL_H_ */