]> git.localhorst.tv Git - l2e.git/blobdiff - src/battle/SmallHeroTag.h
removed lazy fwd headers
[l2e.git] / src / battle / SmallHeroTag.h
index acd2d3158a13f83d80c995dfa08d0a57e769e5aa..7ab47e611a3f5771647d0ae7f15f5a89547acbc3 100644 (file)
@@ -1,27 +1,18 @@
-/*
- * SmallHeroTag.h
- *
- *  Created on: Aug 11, 2012
- *      Author: holy
- */
-
 #ifndef BATTLE_SMALLHEROTAG_H_
 #define BATTLE_SMALLHEROTAG_H_
 
-#include "../geometry/Vector.h"
+namespace battle {
+       class BattleState;
+}
+namespace math {
+       template<class>
+       class Vector;
+}
 
 #include <SDL.h>
 
-namespace graphics {
-       class Font;
-       class Frame;
-       class Gauge;
-}
-
 namespace battle {
 
-class BattleState;
-
 class SmallHeroTag {
 
 public:
@@ -29,7 +20,7 @@ public:
        SmallHeroTag(const BattleState *battle, int heroIndex)
        : battle(battle), index(heroIndex) { }
 
-       void Render(SDL_Surface *screen, int width, int height, geometry::Vector<int> position) const;
+       void Render(SDL_Surface *screen, int width, int height, const math::Vector<int> &position) const;
 
 private:
        const BattleState *battle;