4 * Created on: Aug 9, 2012
8 #ifndef BATTLE_SELECTITEM_H_
9 #define BATTLE_SELECTITEM_H_
12 #include "../../app/State.h"
13 #include "../../geometry/Vector.h"
21 SelectItem(BattleState *battle, SelectAttackType *parent)
22 : ctrl(0), battle(battle), parent(parent) { }
25 virtual void EnterState(app::Application &ctrl, SDL_Surface *screen);
26 virtual void ExitState(app::Application &ctrl, SDL_Surface *screen);
27 virtual void ResumeState(app::Application &ctrl, SDL_Surface *screen);
28 virtual void PauseState(app::Application &ctrl, SDL_Surface *screen);
30 virtual void Resize(int width, int height);
32 virtual void HandleEvents(const app::Input &);
33 virtual void UpdateWorld(float deltaT);
34 virtual void Render(SDL_Surface *);
37 void RenderFrame(SDL_Surface *, const geometry::Vector<int> &offset);
38 void RenderHeadline(SDL_Surface *, const geometry::Vector<int> &offset);
39 void RenderMenu(SDL_Surface *, const geometry::Vector<int> &offset);
42 app::Application *ctrl;
44 SelectAttackType *parent;
50 #endif /* BATTLE_SELECTITEM_H_ */