X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2FHeroTag.h;fp=src%2Fbattle%2FHeroTag.h;h=b5ab475698b90e14d634fc183fc3e10c2f5727c6;hb=2e0bbc9fcc1cce3e1faeff85cc63de7f676e8077;hp=6799e9470fd75a1c6445e3573ff3ce7032886f52;hpb=3ecf76abb280da727806262b4cac3472d94f9c5a;p=l2e.git diff --git a/src/battle/HeroTag.h b/src/battle/HeroTag.h index 6799e94..b5ab475 100644 --- a/src/battle/HeroTag.h +++ b/src/battle/HeroTag.h @@ -12,7 +12,10 @@ #include -namespace graphics { class Frame; } +namespace graphics { + class Frame; + class Gauge; +} namespace battle { @@ -28,8 +31,8 @@ public: }; public: - 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(const Hero *hero, const AttackChoice *choice, const graphics::Frame *frame, const graphics::Frame *activeFrame, const graphics::Gauge *healthGauge, const graphics::Gauge *manaGauge, const graphics::Gauge *ikariGauge, Alignment align) + : hero(hero), choice(choice), frame(frame), activeFrame(activeFrame), healthGauge(healthGauge), manaGauge(manaGauge), ikariGauge(ikariGauge), align(align) { } ~HeroTag() { } public: @@ -40,6 +43,9 @@ private: const AttackChoice *choice; const graphics::Frame *frame; const graphics::Frame *activeFrame; + const graphics::Gauge *healthGauge; + const graphics::Gauge *manaGauge; + const graphics::Gauge *ikariGauge; Alignment align; };