]> git.localhorst.tv Git - l2e.git/blobdiff - src/battle/HeroTag.h
removed lazy fwd headers
[l2e.git] / src / battle / HeroTag.h
index ddade4d6dcb2431ed85dce16f612dbe142995523..d6ef82d349e88a25cbb504a7c0f8a39a1ae7ba37 100644 (file)
@@ -1,10 +1,16 @@
 #ifndef BATTLE_HEROTAG_H_
 #define BATTLE_HEROTAG_H_
 
-#include "fwd.h"
-#include "Hero.h"
-#include "../geometry/Vector.h"
-#include "../graphics/fwd.h"
+namespace battle {
+       class BattleState;
+}
+namespace graphics {
+       class Sprite;
+}
+namespace math {
+       template<class>
+       class Vector;
+}
 
 #include <SDL.h>
 
@@ -19,9 +25,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, const 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;