]> git.localhorst.tv Git - l2e.git/blobdiff - src/battle/Capsule.h
removed lazy fwd headers
[l2e.git] / src / battle / Capsule.h
index 7438492bc7f86a7046b999fc42ee4fb8e8755b18..80edd47fbd1d514a6357ab2f8c1b39c85075b9e6 100644 (file)
@@ -4,14 +4,18 @@
 namespace common {
        class Capsule;
 }
+namespace math {
+       template<class>
+       class Vector;
+}
 
 #include "AttackChoice.h"
 #include "../common/Stats.h"
-#include "../geometry/Vector.h"
 #include "../graphics/Animation.h"
-#include "../graphics/fwd.h"
 #include "../graphics/Menu.h"
 
+#include <SDL.h>
+
 namespace battle {
 
 class Capsule {
@@ -42,8 +46,8 @@ public:
        const graphics::Animation *AttackAnimation() const;
        const graphics::Animation *SpellAnimation() const;
 
-       geometry::Vector<int> &Position() { return position; }
-       const geometry::Vector<int> &Position() const { return position; }
+       math::Vector<int> &Position() { return position; }
+       const math::Vector<int> &Position() const { return position; }
 
        AttackChoice &GetAttackChoice() { return attackChoice; }
        const AttackChoice &GetAttackChoice() const { return attackChoice; }
@@ -54,7 +58,7 @@ private:
        int health;
 
        graphics::AnimationRunner animation;
-       geometry::Vector<int> position;
+       math::Vector<int> position;
        AttackChoice attackChoice;
        common::Stats stats;