-/*
- * HeroTag.h
- *
- * Created on: Aug 6, 2012
- * Author: holy
- */
-
#ifndef BATTLE_HEROTAG_H_
#define BATTLE_HEROTAG_H_
-#include "Hero.h"
-#include "../geometry/Vector.h"
-
-#include <SDL.h>
-
+namespace battle {
+ class BattleState;
+}
namespace graphics {
- class Font;
- class Frame;
- class Gauge;
class Sprite;
}
+namespace math {
+ template<class>
+ class Vector;
+}
-namespace battle {
+#include <SDL.h>
-class BattleState;
+namespace battle {
class HeroTag {
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, 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;
}
-#endif /* BATTLE_HEROTAG_H_ */
+#endif