]> git.localhorst.tv Git - l2e.git/blobdiff - src/battle/HeroTag.h
write hero's name on tag
[l2e.git] / src / battle / HeroTag.h
index 3e42edd44e9dca2accf3d1c1f1bc50a9346e50d3..d361252dec1e48070ad9197b8d112981eb662cf4 100644 (file)
 
 #include <SDL.h>
 
+namespace graphics {
+       class Font;
+       class Frame;
+       class Gauge;
+       class Sprite;
+}
+
 namespace battle {
 
 class AttackChoice;
 class Hero;
+struct Resources;
 
 class HeroTag {
 
@@ -26,7 +34,8 @@ public:
        };
 
 public:
-       HeroTag(const Hero *hero, const AttackChoice *choice, Alignment align) : hero(hero), choice(choice), align(align) { }
+       HeroTag(const Hero *hero, const AttackChoice *choice, const Resources *res, Alignment align)
+       : hero(hero), choice(choice), res(res), align(align) { }
        ~HeroTag() { }
 
 public:
@@ -35,6 +44,7 @@ public:
 private:
        const Hero *hero;
        const AttackChoice *choice;
+       const Resources *res;
        Alignment align;
 
 };