]> git.localhorst.tv Git - l2e.git/blob - src/battle/SmallHeroTag.h
69a6f5c547cf7bb591613569b72d9bf54c036727
[l2e.git] / src / battle / SmallHeroTag.h
1 #ifndef BATTLE_SMALLHEROTAG_H_
2 #define BATTLE_SMALLHEROTAG_H_
3
4 #include "fwd.h"
5 #include "../geometry/Vector.h"
6 #include "../graphics/fwd.h"
7
8 #include <SDL.h>
9
10 namespace battle {
11
12 class SmallHeroTag {
13
14 public:
15         SmallHeroTag() : battle(0), index(0) { }
16         SmallHeroTag(const BattleState *battle, int heroIndex)
17         : battle(battle), index(heroIndex) { }
18
19         void Render(SDL_Surface *screen, int width, int height, const geometry::Vector<int> &position) const;
20
21 private:
22         const BattleState *battle;
23         int index;
24
25 };
26
27 }
28
29 #endif /* BATTLE_SMALLHEROTAG_H_ */