X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2FHeroTag.h;h=d3bd9f56b234a5a9a0736d6677acc398422bec36;hb=5f9a1893c0db8f53889a390e4c4b95d57abd4384;hp=f1408fd1882b6c5b0dfb413ba37a24702e617f7f;hpb=f0f4fa6f537c383c77ab586e068e9679b8df1300;p=l2e.git diff --git a/src/battle/HeroTag.h b/src/battle/HeroTag.h index f1408fd..d3bd9f5 100644 --- a/src/battle/HeroTag.h +++ b/src/battle/HeroTag.h @@ -1,29 +1,20 @@ -/* - * HeroTag.h - * - * Created on: Aug 6, 2012 - * Author: holy - */ - #ifndef BATTLE_HEROTAG_H_ #define BATTLE_HEROTAG_H_ -#include "Hero.h" -#include "../geometry/Point.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 { @@ -34,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::Point position, bool active) const; + void Render(SDL_Surface *screen, int width, int height, const math::Vector &position, bool active) const; private: const BattleState *battle; @@ -46,4 +37,4 @@ private: } -#endif /* BATTLE_HEROTAG_H_ */ +#endif