]> git.localhorst.tv Git - l2e.git/blobdiff - src/menu/CapsuleChangeMenu.h
removed useless comments
[l2e.git] / src / menu / CapsuleChangeMenu.h
index 37278136ae7f9f8606008600bcfdb5e8104d89af..2cd56ba0d28c60b142afe6202adaa505ce59fe26 100644 (file)
@@ -1,10 +1,18 @@
 #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 {
 
@@ -18,13 +26,20 @@ public:
 
 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);
@@ -33,10 +48,9 @@ private:
 
        virtual void OnResize(int width, int height);
 
+       common::Capsule &GetCapsule();
        const common::Capsule &GetCapsule() const;
 
-       void LoadInventory();
-
 private:
        CapsuleMenu *parent;
 
@@ -44,4 +58,4 @@ private:
 
 }
 
-#endif /* MENU_CAPSULECHANGEMENU_H_ */
+#endif