1 #ifndef MENU_CAPSULENAMEMENU_H_
2 #define MENU_CAPSULENAMEMENU_H_
5 #include "../app/State.h"
6 #include "../common/fwd.h"
7 #include "../geometry/Vector.h"
17 explicit CapsuleNameMenu(CapsuleMenu *parent);
20 virtual void HandleEvents(const app::Input &);
21 virtual void UpdateWorld(float deltaT);
22 virtual void Render(SDL_Surface *);
29 virtual void OnEnterState(SDL_Surface *screen);
30 virtual void OnExitState(SDL_Surface *screen);
31 virtual void OnResumeState(SDL_Surface *screen);
32 virtual void OnPauseState(SDL_Surface *screen);
34 virtual void OnResize(int width, int height);
36 const common::Capsule &GetCapsule() const;
40 void RenderName(SDL_Surface *screen, const geometry::Vector<int> &offset) const;
41 void RenderAlphabet(SDL_Surface *screen, const geometry::Vector<int> &offset) const;
52 #endif /* MENU_CAPSULENAMEMENU_H_ */