#include "battle/Monster.h"
#include "battle/PartyLayout.h"
#include "geometry/Point.h"
+#include "graphics/Font.h"
#include "graphics/Frame.h"
#include "graphics/Gauge.h"
#include "graphics/Sprite.h"
using battle::Monster;
using battle::PartyLayout;
using geometry::Point;
+using graphics::Font;
using graphics::Frame;
using graphics::Gauge;
using graphics::Sprite;
Sprite moveIconsSprite(moveIcons, 32, 32);
SDL_Surface *heroTagSprites(IMG_Load("test-data/hero-tag-sprites.png"));
Sprite heroTagSprite(heroTagSprites, 32, 16);
+ SDL_Surface *numbers(IMG_Load("test-data/numbers.png"));
+ Sprite numbersSprite(numbers, 16, 16);
+ Font heroTagFont(&numbersSprite);
SDL_Surface *tagFrames(IMG_Load("test-data/tag-frames.png"));
Frame heroTagFrame(tagFrames, 16, 16, 1, 1, 0, 33);
Frame activeHeroTagFrame(tagFrames, 16, 16);
Gauge manaGauge(gauges, 0, 32, 0, 0, 16, 6, 1, 6);
Gauge ikariGauge(gauges, 0, 48, 0, 0, 16, 6, 1, 6);
- BattleState *battleState(new BattleState(bg, monstersLayout, heroesLayout, &attackIconsSprite, &moveIconsSprite, &heroTagFrame, &activeHeroTagFrame, &healthGauge, &manaGauge, &ikariGauge, &heroTagSprite));
+ BattleState *battleState(new BattleState(bg, monstersLayout, heroesLayout, &attackIconsSprite, &moveIconsSprite, &heroTagFrame, &activeHeroTagFrame, &healthGauge, &manaGauge, &ikariGauge, &heroTagSprite, &heroTagFont));
battleState->AddMonster(monster);
battleState->AddMonster(monster);
battleState->AddMonster(monster);