#ifndef MENU_CAPSULECHANGEMENU_H_
#define MENU_CAPSULECHANGEMENU_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"
namespace menu {
public:
virtual void HandleEvents(const app::Input &);
- virtual void UpdateWorld(float deltaT);
+ virtual void UpdateWorld(Uint32 deltaT);
virtual void Render(SDL_Surface *);
+ void RenderClasses(SDL_Surface *, const math::Vector<int> &) const;
+
public:
int Width() const;
int Height() const;
+ void NextCapsule();
+ void PreviousCapsule();
+ void NextClass();
+ void PreviousClass();
+
private:
virtual void OnEnterState(SDL_Surface *screen);
virtual void OnExitState(SDL_Surface *screen);
virtual void OnResize(int width, int height);
+ common::Capsule &GetCapsule();
const common::Capsule &GetCapsule() const;
- void LoadInventory();
-
private:
CapsuleMenu *parent;
}
-#endif /* MENU_CAPSULECHANGEMENU_H_ */
+#endif