X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmenu%2FCapsuleChangeMenu.h;h=354cb61d09e7012df633297612f0a425482cc86b;hb=a3ba4dc677ad7c92eeb78b20b642241563605c9d;hp=37278136ae7f9f8606008600bcfdb5e8104d89af;hpb=5bbf6cd4a9b9d51ca9f21a360d1ba039d4642614;p=l2e.git diff --git a/src/menu/CapsuleChangeMenu.h b/src/menu/CapsuleChangeMenu.h index 3727813..354cb61 100644 --- a/src/menu/CapsuleChangeMenu.h +++ b/src/menu/CapsuleChangeMenu.h @@ -4,7 +4,7 @@ #include "fwd.h" #include "../app/State.h" #include "../common/fwd.h" -#include "../geometry/Vector.h" +#include "../math/Vector.h" namespace menu { @@ -21,10 +21,17 @@ public: virtual void UpdateWorld(float deltaT); virtual void Render(SDL_Surface *); + void RenderClasses(SDL_Surface *, const math::Vector &) 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 +40,9 @@ private: virtual void OnResize(int width, int height); + common::Capsule &GetCapsule(); const common::Capsule &GetCapsule() const; - void LoadInventory(); - private: CapsuleMenu *parent;