]> git.localhorst.tv Git - l2e.git/blob - src/battle/HeroTag.h
added some test sprites
[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 AttackChoice;
18 class Hero;
19
20 class HeroTag {
21
22 public:
23         enum Alignment {
24                 LEFT,
25                 RIGHT
26         };
27
28 public:
29         HeroTag(const Hero *hero, const AttackChoice *choice, Alignment align) : hero(hero), choice(choice), align(align) { }
30         ~HeroTag() { }
31
32 public:
33         void Render(SDL_Surface *screen, int width, int height, geometry::Point<int> position, bool active) const;
34
35 private:
36         const Hero *hero;
37         const AttackChoice *choice;
38         Alignment align;
39
40 };
41
42 }
43
44 #endif /* BATTLE_HEROTAG_H_ */