]> git.localhorst.tv Git - l2e.git/blobdiff - src/battle/HeroTag.cpp
merged Point into Vector
[l2e.git] / src / battle / HeroTag.cpp
index 228bfda4aef5e654a368c8c1634460f4ca890541..7938250910aa284a2f2f9946c9f685be5914088c 100644 (file)
 #include "BattleState.h"
 #include "Hero.h"
 #include "Resources.h"
-#include "../geometry/operators.h"
 #include "../geometry/Vector.h"
 #include "../graphics/Font.h"
 #include "../graphics/Frame.h"
 #include "../graphics/Gauge.h"
 #include "../graphics/Sprite.h"
 
-using geometry::Point;
 using geometry::Vector;
 using graphics::Frame;
 
@@ -28,7 +26,7 @@ const graphics::Sprite *HeroTag::HeroSprite() const {
        return battle->HeroAt(index).Sprite();
 }
 
-void HeroTag::Render(SDL_Surface *screen, int width, int height, Point<int> position, bool active) const {
+void HeroTag::Render(SDL_Surface *screen, int width, int height, Vector<int> position, bool active) const {
        const Resources &r(battle->Res());
 
        // frame