4 * Created on: Aug 6, 2012
8 #ifndef BATTLE_HEROTAG_H_
9 #define BATTLE_HEROTAG_H_
12 #include "../geometry/Point.h"
13 #include "../geometry/Vector.h"
38 HeroTag() : hero(0), choice(0), res(0), align(LEFT) { };
39 HeroTag(const Hero *hero, const AttackChoice *choice, const Resources *res, Alignment align)
40 : hero(hero), choice(choice), res(res), align(align) { }
44 const graphics::Sprite *HeroSprite() const { return hero->Sprite(); }
45 geometry::Vector<int> HeroOffset() const;
47 void Render(SDL_Surface *screen, int width, int height, geometry::Point<int> position, bool active) const;
51 const AttackChoice *choice;
59 #endif /* BATTLE_HEROTAG_H_ */