X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2FSmallHeroTag.h;h=c17d540c0609d98dc0d793113cc043ec0c6ddede;hb=3ecf065f3bcef720e82bb137a2be734ed7e16746;hp=1f392c31ebc81f77745c0686d6c142bfd7277d17;hpb=04b582180c8f86f50f08f5141a2514a1fcda3e01;p=l2e.git diff --git a/src/battle/SmallHeroTag.h b/src/battle/SmallHeroTag.h index 1f392c3..c17d540 100644 --- a/src/battle/SmallHeroTag.h +++ b/src/battle/SmallHeroTag.h @@ -8,7 +8,7 @@ #ifndef BATTLE_SMALLHEROTAG_H_ #define BATTLE_SMALLHEROTAG_H_ -#include "../geometry/Point.h" +#include "../geometry/Vector.h" #include @@ -29,7 +29,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;