X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2FBattleState.h;h=72342f0961e0616de36b058305a7fa30127722a5;hb=58c4bd0571f6d839df5ddb9fa02d8d0d54ad4454;hp=0e3436b1fcda93164eafa8b2f801951219a4d1a0;hpb=0ef4dc19f03955b82d22330342acb179cf12b551;p=l2e.git diff --git a/src/battle/BattleState.h b/src/battle/BattleState.h index 0e3436b..72342f0 100644 --- a/src/battle/BattleState.h +++ b/src/battle/BattleState.h @@ -23,6 +23,7 @@ namespace app { class Input; } namespace graphics { + class Font; class Frame; class Gauge; class Sprite; @@ -36,7 +37,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, const graphics::Sprite *heroTagSprites) + 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, const graphics::Font *heroTagFont) : background(background) , monstersLayout(&monstersLayout) , heroesLayout(&heroesLayout) @@ -46,6 +47,7 @@ public: , manaGauge(manaGauge) , ikariGauge(ikariGauge) , heroTagSprites(heroTagSprites) + , heroTagFont(heroTagFont) , attackTypeMenu(attackIcons) , moveMenu(moveIcons) , activeHero(-1) { } @@ -100,6 +102,7 @@ private: const graphics::Gauge *manaGauge; const graphics::Gauge *ikariGauge; const graphics::Sprite *heroTagSprites; + const graphics::Font *heroTagFont; AttackTypeMenu attackTypeMenu; MoveMenu moveMenu; std::vector > monsterPositions;