4 * Created on: Nov 4, 2012
8 #ifndef MENU_CHANGEHERO_H_
9 #define MENU_CHANGEHERO_H_
12 #include "../app/State.h"
13 #include "../geometry/Vector.h"
23 explicit ChangeHero(PartyMenu *parent);
26 virtual void HandleEvents(const app::Input &);
27 virtual void UpdateWorld(float deltaT);
28 virtual void Render(SDL_Surface *);
35 virtual void OnEnterState(SDL_Surface *screen);
36 virtual void OnExitState(SDL_Surface *screen);
37 virtual void OnResumeState(SDL_Surface *screen);
38 virtual void OnPauseState(SDL_Surface *screen);
40 virtual void OnResize(int width, int height);
42 void SelectedHero(int index);
44 void RenderHighlight(SDL_Surface *screen, const geometry::Vector<int> &offset) const;
46 static void OnHeroSelected(void *, int);
50 SDL_Surface *highlight;
57 #endif /* MENU_CHANGEHERO_H_ */