X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2FSmallHeroTag.h;h=633cf805e542f6940aa921f7ff31988ee81338be;hb=4309d259becd96ead792678257e910c03a6b4a3d;hp=acd2d3158a13f83d80c995dfa08d0a57e769e5aa;hpb=0542849dfccfec1ce1477265fa0fee2401a8fb23;p=l2e.git diff --git a/src/battle/SmallHeroTag.h b/src/battle/SmallHeroTag.h index acd2d31..633cf80 100644 --- a/src/battle/SmallHeroTag.h +++ b/src/battle/SmallHeroTag.h @@ -1,27 +1,18 @@ -/* - * SmallHeroTag.h - * - * Created on: Aug 11, 2012 - * Author: holy - */ - #ifndef BATTLE_SMALLHEROTAG_H_ #define BATTLE_SMALLHEROTAG_H_ -#include "../geometry/Vector.h" +namespace battle { + class BattleState; +} +namespace math { + template + class Vector; +} #include -namespace graphics { - class Font; - class Frame; - class Gauge; -} - namespace battle { -class BattleState; - class SmallHeroTag { public: @@ -29,7 +20,7 @@ public: SmallHeroTag(const BattleState *battle, int heroIndex) : battle(battle), index(heroIndex) { } - void Render(SDL_Surface *screen, int width, int height, geometry::Vector position) const; + void Render(SDL_Surface *screen, int width, int height, const math::Vector &position) const; private: const BattleState *battle; @@ -39,4 +30,4 @@ private: } -#endif /* BATTLE_SMALLHEROTAG_H_ */ +#endif