]> git.localhorst.tv Git - l2e.git/blobdiff - src/battle/SmallHeroTag.cpp
merged Point into Vector
[l2e.git] / src / battle / SmallHeroTag.cpp
index 7843cc0cba29c62e4884ae814ce3a8886718b20e..0bc160a33b4078f35465db81700408cf94a08a96 100644 (file)
@@ -8,13 +8,11 @@
 #include "SmallHeroTag.h"
 
 #include "BattleState.h"
-#include "../geometry/operators.h"
 #include "../geometry/Vector.h"
 #include "../graphics/Font.h"
 #include "../graphics/Frame.h"
 #include "../graphics/Gauge.h"
 
-using geometry::Point;
 using geometry::Vector;
 using graphics::Font;
 using graphics::Frame;
@@ -22,7 +20,7 @@ using graphics::Sprite;
 
 namespace battle {
 
-void SmallHeroTag::Render(SDL_Surface *screen, int width, int height, geometry::Point<int> position) const {
+void SmallHeroTag::Render(SDL_Surface *screen, int width, int height, geometry::Vector<int> position) const {
        const Resources &r(battle->Res());
        const Frame *frame((index == battle->MaxHeroes() - 1) ? r.lastSmallHeroTagFrame : r.smallHeroTagFrame);
        const Font *font(r.normalFont);