X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2FHeroTag.h;fp=src%2Fbattle%2FHeroTag.h;h=6799e9470fd75a1c6445e3573ff3ce7032886f52;hb=cccda573516f3bce30efbaba3fc20e4148d3cdc8;hp=3e42edd44e9dca2accf3d1c1f1bc50a9346e50d3;hpb=526504934732d84cf43f164125f04f1f3e9cb225;p=l2e.git diff --git a/src/battle/HeroTag.h b/src/battle/HeroTag.h index 3e42edd..6799e94 100644 --- a/src/battle/HeroTag.h +++ b/src/battle/HeroTag.h @@ -12,6 +12,8 @@ #include +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; };