]> git.localhorst.tv Git - l2e.git/blobdiff - src/menu/CapsuleMenu.h
renamed namespace geometry -> math
[l2e.git] / src / menu / CapsuleMenu.h
index 1491f391d294b5e70cbdf479d6d4b3aff7a1f41f..8f8063785a485369c6d9c22896644b1313e8c91e 100644 (file)
@@ -4,7 +4,7 @@
 #include "fwd.h"
 #include "../app/State.h"
 #include "../common/fwd.h"
-#include "../geometry/Vector.h"
+#include "../math/Vector.h"
 #include "../graphics/Menu.h"
 
 namespace menu {
@@ -21,18 +21,19 @@ public:
        virtual void Render(SDL_Surface *);
 
        void RenderBackground(SDL_Surface *screen) const;
-       void RenderCapsule(SDL_Surface *screen, const geometry::Vector<int> &offset) const;
-       void RenderInfo(SDL_Surface *screen, const geometry::Vector<int> &offset) const;
-       void RenderWheel(SDL_Surface *screen, const geometry::Vector<int> &offset) const;
-       void RenderStats(SDL_Surface *screen, const geometry::Vector<int> &offset) const;
-       void RenderStatsLine(SDL_Surface *screen, const geometry::Vector<int> &offset, const char *name, int value) const;
-       void RenderMenu(SDL_Surface *screen, const geometry::Vector<int> &offset) const;
+       void RenderCapsule(SDL_Surface *screen, const math::Vector<int> &offset) const;
+       void RenderInfo(SDL_Surface *screen, const math::Vector<int> &offset) const;
+       void RenderWheel(SDL_Surface *screen, const math::Vector<int> &offset) const;
+       void RenderStats(SDL_Surface *screen, const math::Vector<int> &offset) const;
+       void RenderStatsLine(SDL_Surface *screen, const math::Vector<int> &offset, const char *name, int value) const;
+       void RenderMenu(SDL_Surface *screen, const math::Vector<int> &offset) const;
 
 public:
        common::GameConfig &Game();
        const common::GameConfig &Game() const;
        Resources &Res();
        const Resources &Res() const;
+       common::Capsule &GetCapsule();
        const common::Capsule &GetCapsule() const;
 
        int Width() const;