]> git.localhorst.tv Git - l2e.git/blobdiff - src/battle/HeroTag.h
removed pasting fail from ikari selection
[l2e.git] / src / battle / HeroTag.h
index c21f8570b63c5de5b2668502f3e876f9c806fd80..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>
@@ -28,16 +27,15 @@ class BattleState;
 class HeroTag {
 
 public:
-       HeroTag() : battle(0), index(0) { };
+       HeroTag() : battle(0), index(0) { }
        HeroTag(const BattleState *battle, int heroIndex)
        : battle(battle), index(heroIndex) { }
-       ~HeroTag() { }
 
 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;