]> git.localhorst.tv Git - l2e.git/blobdiff - src/battle/HeroTag.h
Merge branch 'master' into menus
[l2e.git] / src / battle / HeroTag.h
index 43dc66112a4da947404105d9a65fd6bd7a649452..9ce1963cb854209d8ef177a9080deb5dbdada9c6 100644 (file)
@@ -8,22 +8,15 @@
 #ifndef BATTLE_HEROTAG_H_
 #define BATTLE_HEROTAG_H_
 
+#include "fwd.h"
 #include "Hero.h"
 #include "../geometry/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:
@@ -35,7 +28,7 @@ public:
        const graphics::Sprite *HeroSprite() const;
        geometry::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 geometry::Vector<int> &position, bool active) const;
 
 private:
        const BattleState *battle;