r.normalFont->DrawString(hero.Name(), screen, position + frameOffset + alignOffset, 5);
// attack icon
- if (battle->AttackChoiceAt(index).GetType() != AttackChoice::UNDECIDED) {
+ if (battle->HeroAt(index).GetAttackChoice().GetType() != AttackChoice::UNDECIDED) {
Vector<int> attackIconOffset(labelX + r.heroTagLabels->Width(), frameOffset.Y() + 3 * r.heroTagFont->CharHeight());
- r.attackChoiceIcons->Draw(screen, position + attackIconOffset, 0, battle->AttackChoiceAt(index).GetType());
+ r.attackChoiceIcons->Draw(screen, position + attackIconOffset, 0, battle->HeroAt(index).GetAttackChoice().GetType());
}
// hero