X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2FHeroTag.h;h=d3bd9f56b234a5a9a0736d6677acc398422bec36;hb=8f4e771181491f1d83ce0c907b8dda0fbbe0ce93;hp=43dc66112a4da947404105d9a65fd6bd7a649452;hpb=0542849dfccfec1ce1477265fa0fee2401a8fb23;p=l2e.git diff --git a/src/battle/HeroTag.h b/src/battle/HeroTag.h index 43dc661..d3bd9f5 100644 --- a/src/battle/HeroTag.h +++ b/src/battle/HeroTag.h @@ -1,28 +1,20 @@ -/* - * HeroTag.h - * - * Created on: Aug 6, 2012 - * Author: holy - */ - #ifndef BATTLE_HEROTAG_H_ #define BATTLE_HEROTAG_H_ -#include "Hero.h" -#include "../geometry/Vector.h" - -#include - +namespace battle { + class BattleState; +} namespace graphics { - class Font; - class Frame; - class Gauge; class Sprite; } +namespace math { + template + class Vector; +} -namespace battle { +#include -class BattleState; +namespace battle { class HeroTag { @@ -33,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, 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; @@ -45,4 +37,4 @@ private: } -#endif /* BATTLE_HEROTAG_H_ */ +#endif