X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2FSmallHeroTag.h;h=69a6f5c547cf7bb591613569b72d9bf54c036727;hb=60e0fe29ce6cd033edc78b181d9d07fa72c11172;hp=1f392c31ebc81f77745c0686d6c142bfd7277d17;hpb=04b582180c8f86f50f08f5141a2514a1fcda3e01;p=l2e.git diff --git a/src/battle/SmallHeroTag.h b/src/battle/SmallHeroTag.h index 1f392c3..69a6f5c 100644 --- a/src/battle/SmallHeroTag.h +++ b/src/battle/SmallHeroTag.h @@ -1,27 +1,14 @@ -/* - * SmallHeroTag.h - * - * Created on: Aug 11, 2012 - * Author: holy - */ - #ifndef BATTLE_SMALLHEROTAG_H_ #define BATTLE_SMALLHEROTAG_H_ -#include "../geometry/Point.h" +#include "fwd.h" +#include "../geometry/Vector.h" +#include "../graphics/fwd.h" #include -namespace graphics { - class Font; - class Frame; - class Gauge; -} - namespace battle { -class BattleState; - class SmallHeroTag { public: @@ -29,7 +16,7 @@ public: SmallHeroTag(const BattleState *battle, int heroIndex) : battle(battle), index(heroIndex) { } - void Render(SDL_Surface *screen, int width, int height, geometry::Point position) const; + void Render(SDL_Surface *screen, int width, int height, const geometry::Vector &position) const; private: const BattleState *battle;