1 #ifndef MENU_CHANGEHERO_H_
2 #define MENU_CHANGEHERO_H_
5 #include "../app/State.h"
6 #include "../geometry/Vector.h"
16 explicit ChangeHero(PartyMenu *parent);
19 virtual void HandleEvents(const app::Input &);
20 virtual void UpdateWorld(float deltaT);
21 virtual void Render(SDL_Surface *);
28 virtual void OnEnterState(SDL_Surface *screen);
29 virtual void OnExitState(SDL_Surface *screen);
30 virtual void OnResumeState(SDL_Surface *screen);
31 virtual void OnPauseState(SDL_Surface *screen);
33 virtual void OnResize(int width, int height);
35 void SelectedHero(int index);
37 void RenderHighlight(SDL_Surface *screen, const geometry::Vector<int> &offset) const;
39 static void OnHeroSelected(void *, int);
43 SDL_Surface *highlight;
50 #endif /* MENU_CHANGEHERO_H_ */