]> git.localhorst.tv Git - l2e.git/blobdiff - src/battle/BattleState.h
added hero tag labels
[l2e.git] / src / battle / BattleState.h
index b56b9fe3d55cd262dab2ff1e5acec7ad2f65e7d9..0e3436b1fcda93164eafa8b2f801951219a4d1a0 100644 (file)
@@ -36,7 +36,7 @@ class BattleState
 : public app::State {
 
 public:
-       BattleState(SDL_Surface *background, const PartyLayout &monstersLayout, const PartyLayout &heroesLayout, const graphics::Sprite *attackIcons, const graphics::Sprite *moveIcons, const graphics::Frame *heroTagFrame, const graphics::Frame *activeHeroTagFrame, const graphics::Gauge *healthGauge, const graphics::Gauge *manaGauge, const graphics::Gauge *ikariGauge)
+       BattleState(SDL_Surface *background, const PartyLayout &monstersLayout, const PartyLayout &heroesLayout, const graphics::Sprite *attackIcons, const graphics::Sprite *moveIcons, const graphics::Frame *heroTagFrame, const graphics::Frame *activeHeroTagFrame, const graphics::Gauge *healthGauge, const graphics::Gauge *manaGauge, const graphics::Gauge *ikariGauge, const graphics::Sprite *heroTagSprites)
        : background(background)
        , monstersLayout(&monstersLayout)
        , heroesLayout(&heroesLayout)
@@ -45,6 +45,7 @@ public:
        , healthGauge(healthGauge)
        , manaGauge(manaGauge)
        , ikariGauge(ikariGauge)
+       , heroTagSprites(heroTagSprites)
        , attackTypeMenu(attackIcons)
        , moveMenu(moveIcons)
        , activeHero(-1) { }
@@ -98,6 +99,7 @@ private:
        const graphics::Gauge *healthGauge;
        const graphics::Gauge *manaGauge;
        const graphics::Gauge *ikariGauge;
+       const graphics::Sprite *heroTagSprites;
        AttackTypeMenu attackTypeMenu;
        MoveMenu moveMenu;
        std::vector<geometry::Point<int> > monsterPositions;