1 #ifndef MENU_CHANGEHERO_H_
2 #define MENU_CHANGEHERO_H_
12 #include "../app/State.h"
22 explicit ChangeHero(PartyMenu *parent);
25 virtual void HandleEvents(const app::Input &);
26 virtual void UpdateWorld(Uint32 deltaT);
27 virtual void Render(SDL_Surface *);
34 virtual void OnEnterState(SDL_Surface *screen);
35 virtual void OnExitState(SDL_Surface *screen);
36 virtual void OnResumeState(SDL_Surface *screen);
37 virtual void OnPauseState(SDL_Surface *screen);
39 virtual void OnResize(int width, int height);
41 void SelectedHero(int index);
43 void RenderHighlight(SDL_Surface *screen, const math::Vector<int> &offset) const;
45 static void OnHeroSelected(void *, int);
49 SDL_Surface *highlight;