]> git.localhorst.tv Git - l2e.git/blobdiff - src/battle/SmallHeroTag.h
added constructors for described types
[l2e.git] / src / battle / SmallHeroTag.h
index 1f392c31ebc81f77745c0686d6c142bfd7277d17..c17d540c0609d98dc0d793113cc043ec0c6ddede 100644 (file)
@@ -8,7 +8,7 @@
 #ifndef BATTLE_SMALLHEROTAG_H_
 #define BATTLE_SMALLHEROTAG_H_
 
-#include "../geometry/Point.h"
+#include "../geometry/Vector.h"
 
 #include <SDL.h>
 
@@ -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<int> position) const;
+       void Render(SDL_Surface *screen, int width, int height, const geometry::Vector<int> &position) const;
 
 private:
        const BattleState *battle;