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