X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmenu%2FHeroStatus.h;h=726375f72f0fd9d744cf30ad2fc92ee43acf56ec;hb=ec824200aec12d6870b70304bcd2e2aeadba767b;hp=03c7811adecf79ec7368aa8bb45e1c462f5eb5c9;hpb=cc3d698b8c1ad09d7a3f9e3f28bc84e0ac1735ea;p=l2e.git diff --git a/src/menu/HeroStatus.h b/src/menu/HeroStatus.h index 03c7811..726375f 100644 --- a/src/menu/HeroStatus.h +++ b/src/menu/HeroStatus.h @@ -1,9 +1,14 @@ #ifndef MENU_HEROSTATUS_H_ #define MENU_HEROSTATUS_H_ -#include "fwd.h" -#include "../common/fwd.h" -#include "../geometry/Vector.h" +namespace common { + class Hero; +} +namespace menu { + struct Resources; +} + +#include "../math/Vector.h" #include @@ -21,9 +26,9 @@ public: int Width() const; int Height() const; - geometry::Vector Size() const { return geometry::Vector(Width(), Height()); } + math::Vector Size() const { return math::Vector(Width(), Height()); } - void Render(SDL_Surface *screen, const geometry::Vector &offset) const; + void Render(SDL_Surface *screen, const math::Vector &offset) const; private: const Resources *res; @@ -34,4 +39,4 @@ private: } -#endif /* MENU_HEROSTATUS_H_ */ +#endif