]> git.localhorst.tv Git - l2e.git/blobdiff - src/battle/HeroTag.h
added Frame class for drawing bordered windows
[l2e.git] / src / battle / HeroTag.h
index 3e42edd44e9dca2accf3d1c1f1bc50a9346e50d3..6799e9470fd75a1c6445e3573ff3ce7032886f52 100644 (file)
@@ -12,6 +12,8 @@
 
 #include <SDL.h>
 
+namespace graphics { class Frame; }
+
 namespace battle {
 
 class AttackChoice;
@@ -26,7 +28,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 graphics::Frame *frame, const graphics::Frame *activeFrame, Alignment align)
+       : hero(hero), choice(choice), frame(frame), activeFrame(activeFrame), align(align) { }
        ~HeroTag() { }
 
 public:
@@ -35,6 +38,8 @@ public:
 private:
        const Hero *hero;
        const AttackChoice *choice;
+       const graphics::Frame *frame;
+       const graphics::Frame *activeFrame;
        Alignment align;
 
 };