X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2FSmallHeroTag.h;h=633cf805e542f6940aa921f7ff31988ee81338be;hb=8f4e771181491f1d83ce0c907b8dda0fbbe0ce93;hp=69a6f5c547cf7bb591613569b72d9bf54c036727;hpb=cc3d698b8c1ad09d7a3f9e3f28bc84e0ac1735ea;p=l2e.git diff --git a/src/battle/SmallHeroTag.h b/src/battle/SmallHeroTag.h index 69a6f5c..633cf80 100644 --- a/src/battle/SmallHeroTag.h +++ b/src/battle/SmallHeroTag.h @@ -1,9 +1,13 @@ #ifndef BATTLE_SMALLHEROTAG_H_ #define BATTLE_SMALLHEROTAG_H_ -#include "fwd.h" -#include "../geometry/Vector.h" -#include "../graphics/fwd.h" +namespace battle { + class BattleState; +} +namespace math { + template + class Vector; +} #include @@ -16,7 +20,7 @@ public: SmallHeroTag(const BattleState *battle, int heroIndex) : battle(battle), index(heroIndex) { } - void Render(SDL_Surface *screen, int width, int height, const geometry::Vector &position) const; + void Render(SDL_Surface *screen, int width, int height, const math::Vector &position) const; private: const BattleState *battle; @@ -26,4 +30,4 @@ private: } -#endif /* BATTLE_SMALLHEROTAG_H_ */ +#endif