#ifndef MENU_CAPSULENAMEMENU_H_
#define MENU_CAPSULENAMEMENU_H_
-#include "fwd.h"
+namespace common {
+ class Capsule;
+}
+namespace math {
+ template<class>
+ class Vector;
+}
+namespace menu {
+ class CapsuleMenu;
+}
+
#include "../app/State.h"
-#include "../common/fwd.h"
-#include "../geometry/Vector.h"
#include "../graphics/CharSelect.h"
namespace menu {
public:
virtual void HandleEvents(const app::Input &);
- virtual void UpdateWorld(float deltaT);
+ virtual void UpdateWorld(Uint32 deltaT);
virtual void Render(SDL_Surface *);
public:
void RemoveChar();
void StoreName();
- void RenderName(SDL_Surface *screen, const geometry::Vector<int> &offset) const;
- void RenderAlphabet(SDL_Surface *screen, const geometry::Vector<int> &offset) const;
+ void RenderName(SDL_Surface *screen, const math::Vector<int> &offset) const;
+ void RenderAlphabet(SDL_Surface *screen, const math::Vector<int> &offset) const;
private:
CapsuleMenu *parent;
}
-#endif /* MENU_CAPSULENAMEMENU_H_ */
+#endif