X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2FSmallHeroTag.h;h=69a6f5c547cf7bb591613569b72d9bf54c036727;hb=cc3d698b8c1ad09d7a3f9e3f28bc84e0ac1735ea;hp=acd2d3158a13f83d80c995dfa08d0a57e769e5aa;hpb=0542849dfccfec1ce1477265fa0fee2401a8fb23;p=l2e.git diff --git a/src/battle/SmallHeroTag.h b/src/battle/SmallHeroTag.h index acd2d31..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 "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::Vector position) const; + void Render(SDL_Surface *screen, int width, int height, const geometry::Vector &position) const; private: const BattleState *battle;