]> git.localhorst.tv Git - l2e.git/blobdiff - src/battle/HeroTag.h
better positioning of hero tags
[l2e.git] / src / battle / HeroTag.h
index c60634853035bf58b76800c48e71b2e90d2f1426..6799e9470fd75a1c6445e3573ff3ce7032886f52 100644 (file)
 
 #include <SDL.h>
 
+namespace graphics { class Frame; }
+
 namespace battle {
 
+class AttackChoice;
 class Hero;
 
 class HeroTag {
@@ -25,7 +28,8 @@ public:
        };
 
 public:
-       HeroTag(const Hero *hero, Alignment align) : hero(hero), align(align) { }
+       HeroTag(const Hero *hero, const AttackChoice *choice, const graphics::Frame *frame, const graphics::Frame *activeFrame, Alignment align)
+       : hero(hero), choice(choice), frame(frame), activeFrame(activeFrame), align(align) { }
        ~HeroTag() { }
 
 public:
@@ -33,6 +37,9 @@ public:
 
 private:
        const Hero *hero;
+       const AttackChoice *choice;
+       const graphics::Frame *frame;
+       const graphics::Frame *activeFrame;
        Alignment align;
 
 };