]> git.localhorst.tv Git - l2e.git/blobdiff - src/battle/HeroTag.h
switched some (x,y) and (w,h) pairs to vectors
[l2e.git] / src / battle / HeroTag.h
index f1408fd1882b6c5b0dfb413ba37a24702e617f7f..8750081148cb8c94b58c845d411cf6cfd462947a 100644 (file)
@@ -9,7 +9,6 @@
 #define BATTLE_HEROTAG_H_
 
 #include "Hero.h"
-#include "../geometry/Point.h"
 #include "../geometry/Vector.h"
 
 #include <SDL.h>
@@ -36,7 +35,7 @@ public:
        const graphics::Sprite *HeroSprite() const;
        geometry::Vector<int> HeroOffset() const;
 
-       void Render(SDL_Surface *screen, int width, int height, geometry::Point<int> position, bool active) const;
+       void Render(SDL_Surface *screen, int width, int height, const geometry::Vector<int> &position, bool active) const;
 
 private:
        const BattleState *battle;