X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmenu%2FHeroStatus.h;h=726375f72f0fd9d744cf30ad2fc92ee43acf56ec;hb=3aca2860c95bb4d30569a23ab88a5286c3b9b757;hp=27c048ec76807cc63bf8100e90de473d00a53cff;hpb=17afcc24569b38a9816f616bc025ba871ad3e48e;p=l2e.git diff --git a/src/menu/HeroStatus.h b/src/menu/HeroStatus.h index 27c048e..726375f 100644 --- a/src/menu/HeroStatus.h +++ b/src/menu/HeroStatus.h @@ -1,16 +1,14 @@ -/* - * HeroStatus.h - * - * Created on: Oct 21, 2012 - * Author: holy - */ - #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 @@ -28,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; @@ -41,4 +39,4 @@ private: } -#endif /* MENU_HEROSTATUS_H_ */ +#endif