]> git.localhorst.tv Git - l2e.git/blobdiff - src/battle/HeroTag.h
renamed namespace geometry -> math
[l2e.git] / src / battle / HeroTag.h
index 43dc66112a4da947404105d9a65fd6bd7a649452..24c8f8a6da4109c4e564023d9f1211cd83e98a0b 100644 (file)
@@ -1,29 +1,15 @@
-/*
- * HeroTag.h
- *
- *  Created on: Aug 6, 2012
- *      Author: holy
- */
-
 #ifndef BATTLE_HEROTAG_H_
 #define BATTLE_HEROTAG_H_
 
+#include "fwd.h"
 #include "Hero.h"
-#include "../geometry/Vector.h"
+#include "../math/Vector.h"
+#include "../graphics/fwd.h"
 
 #include <SDL.h>
 
-namespace graphics {
-       class Font;
-       class Frame;
-       class Gauge;
-       class Sprite;
-}
-
 namespace battle {
 
-class BattleState;
-
 class HeroTag {
 
 public:
@@ -33,9 +19,9 @@ public:
 
 public:
        const graphics::Sprite *HeroSprite() const;
-       geometry::Vector<int> HeroOffset() const;
+       math::Vector<int> HeroOffset() const;
 
-       void Render(SDL_Surface *screen, int width, int height, geometry::Vector<int> position, bool active) const;
+       void Render(SDL_Surface *screen, int width, int height, const math::Vector<int> &position, bool active) const;
 
 private:
        const BattleState *battle;