]> git.localhorst.tv Git - l2e.git/blobdiff - src/menu/CapsuleChangeMenu.h
implemented capsule/class selection
[l2e.git] / src / menu / CapsuleChangeMenu.h
index 5ac40fbc734c3f6efc84d57eca5406354d1b3fb7..a48a6b2f0ffaa1a1367744c00d59f06445ab540d 100644 (file)
@@ -21,10 +21,17 @@ public:
        virtual void UpdateWorld(float deltaT);
        virtual void Render(SDL_Surface *);
 
+       void RenderClasses(SDL_Surface *, const geometry::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,6 +40,7 @@ private:
 
        virtual void OnResize(int width, int height);
 
+       common::Capsule &GetCapsule();
        const common::Capsule &GetCapsule() const;
 
 private: