]> git.localhorst.tv Git - l2e.git/blobdiff - src/battle/SmallHeroTag.h
renamed namespace geometry -> math
[l2e.git] / src / battle / SmallHeroTag.h
index acd2d3158a13f83d80c995dfa08d0a57e769e5aa..7c038017fab49d156ba60083010e9eeba3fed86a 100644 (file)
@@ -1,27 +1,14 @@
-/*
- * SmallHeroTag.h
- *
- *  Created on: Aug 11, 2012
- *      Author: holy
- */
-
 #ifndef BATTLE_SMALLHEROTAG_H_
 #define BATTLE_SMALLHEROTAG_H_
 
-#include "../geometry/Vector.h"
+#include "fwd.h"
+#include "../math/Vector.h"
+#include "../graphics/fwd.h"
 
 #include <SDL.h>
 
-namespace graphics {
-       class Font;
-       class Frame;
-       class Gauge;
-}
-
 namespace battle {
 
-class BattleState;
-
 class SmallHeroTag {
 
 public:
@@ -29,7 +16,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;