X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmenu%2FCapsuleMenu.h;h=8f8063785a485369c6d9c22896644b1313e8c91e;hb=a3ba4dc677ad7c92eeb78b20b642241563605c9d;hp=1491f391d294b5e70cbdf479d6d4b3aff7a1f41f;hpb=60e0fe29ce6cd033edc78b181d9d07fa72c11172;p=l2e.git diff --git a/src/menu/CapsuleMenu.h b/src/menu/CapsuleMenu.h index 1491f39..8f80637 100644 --- a/src/menu/CapsuleMenu.h +++ b/src/menu/CapsuleMenu.h @@ -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 &offset) const; - void RenderInfo(SDL_Surface *screen, const geometry::Vector &offset) const; - void RenderWheel(SDL_Surface *screen, const geometry::Vector &offset) const; - void RenderStats(SDL_Surface *screen, const geometry::Vector &offset) const; - void RenderStatsLine(SDL_Surface *screen, const geometry::Vector &offset, const char *name, int value) const; - void RenderMenu(SDL_Surface *screen, const geometry::Vector &offset) const; + void RenderCapsule(SDL_Surface *screen, const math::Vector &offset) const; + void RenderInfo(SDL_Surface *screen, const math::Vector &offset) const; + void RenderWheel(SDL_Surface *screen, const math::Vector &offset) const; + void RenderStats(SDL_Surface *screen, const math::Vector &offset) const; + void RenderStatsLine(SDL_Surface *screen, const math::Vector &offset, const char *name, int value) const; + void RenderMenu(SDL_Surface *screen, const math::Vector &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;