namespace app { class Input; }
namespace graphics {
+ class Font;
class Frame;
class Gauge;
class Sprite;
: 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)
, manaGauge(manaGauge)
, ikariGauge(ikariGauge)
, heroTagSprites(heroTagSprites)
+ , heroTagFont(heroTagFont)
, attackTypeMenu(attackIcons)
, moveMenu(moveIcons)
, activeHero(-1) { }
const graphics::Gauge *manaGauge;
const graphics::Gauge *ikariGauge;
const graphics::Sprite *heroTagSprites;
+ const graphics::Font *heroTagFont;
AttackTypeMenu attackTypeMenu;
MoveMenu moveMenu;
std::vector<geometry::Point<int> > monsterPositions;