]> git.localhorst.tv Git - l2e.git/blob - src/battle/HeroTag.h
added prototype for battle's hero tags
[l2e.git] / src / battle / HeroTag.h
1 /*
2  * HeroTag.h
3  *
4  *  Created on: Aug 6, 2012
5  *      Author: holy
6  */
7
8 #ifndef BATTLE_HEROTAG_H_
9 #define BATTLE_HEROTAG_H_
10
11 #include "../geometry/Point.h"
12
13 #include <SDL.h>
14
15 namespace battle {
16
17 class Hero;
18
19 class HeroTag {
20
21 public:
22         enum Alignment {
23                 LEFT,
24                 RIGHT
25         };
26
27 public:
28         HeroTag(const Hero *hero, Alignment align) : hero(hero), align(align) { }
29         ~HeroTag() { }
30
31 public:
32         void Render(SDL_Surface *screen, int width, int height, geometry::Point<int> position) const;
33
34 private:
35         const Hero *hero;
36         Alignment align;
37
38 };
39
40 }
41
42 #endif /* BATTLE_HEROTAG_H_ */