4 * Created on: Oct 21, 2012
8 #ifndef MENU_PARTYMENU_H_
9 #define MENU_PARTYMENU_H_
12 #include "HeroStatus.h"
13 #include "../app/State.h"
14 #include "../common/fwd.h"
15 #include "../geometry/Vector.h"
23 explicit PartyMenu(common::GameConfig *);
27 virtual void HandleEvents(const app::Input &);
28 virtual void UpdateWorld(float deltaT);
29 virtual void Render(SDL_Surface *);
33 const Resources &Res() const;
36 virtual void OnEnterState(SDL_Surface *screen);
37 virtual void OnExitState(SDL_Surface *screen);
38 virtual void OnResumeState(SDL_Surface *screen);
39 virtual void OnPauseState(SDL_Surface *screen);
41 virtual void OnResize(int width, int height);
43 void RenderHeros(SDL_Surface *screen, const geometry::Vector<int> &offset) const;
44 void RenderMenu(SDL_Surface *screen, const geometry::Vector<int> &offset) const;
45 void RenderInfo(SDL_Surface *screen, const geometry::Vector<int> &offset) const;
49 common::GameConfig *game;
55 #endif /* MENU_PARTYMENU_H_ */