X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2FHeroTag.h;h=d3bd9f56b234a5a9a0736d6677acc398422bec36;hb=ab063a95735fdb90e7c610015e9155283ba5eca6;hp=ddade4d6dcb2431ed85dce16f612dbe142995523;hpb=cc3d698b8c1ad09d7a3f9e3f28bc84e0ac1735ea;p=l2e.git diff --git a/src/battle/HeroTag.h b/src/battle/HeroTag.h index ddade4d..d3bd9f5 100644 --- a/src/battle/HeroTag.h +++ b/src/battle/HeroTag.h @@ -1,10 +1,16 @@ #ifndef BATTLE_HEROTAG_H_ #define BATTLE_HEROTAG_H_ -#include "fwd.h" -#include "Hero.h" -#include "../geometry/Vector.h" -#include "../graphics/fwd.h" +namespace battle { + class BattleState; +} +namespace graphics { + class Sprite; +} +namespace math { + template + class Vector; +} #include @@ -19,9 +25,9 @@ public: public: const graphics::Sprite *HeroSprite() const; - geometry::Vector HeroOffset() const; + math::Vector HeroOffset() const; - void Render(SDL_Surface *screen, int width, int height, const geometry::Vector &position, bool active) const; + void Render(SDL_Surface *screen, int width, int height, const math::Vector &position, bool active) const; private: const BattleState *battle; @@ -31,4 +37,4 @@ private: } -#endif /* BATTLE_HEROTAG_H_ */ +#endif