I am one lousy stinkin bastard :(
bool HasChosenAttackType() const { return attackChoices[activeHero].GetType() != AttackChoice::UNDECIDED; }
void SetAttackType(AttackChoice::Type t) { attackChoices[activeHero].SetType(t); }
bool AttackSelectionDone() const { return activeHero >= (int) heroes.size(); }
- const graphics::Menu</* Spell */ void *> GetSpellMenu() const { return spellMenus[activeHero]; }
+ graphics::Menu</* Spell */ void *> &GetSpellMenu() { return spellMenus[activeHero]; }
+ const graphics::Menu</* Spell */ void *> &GetSpellMenu() const { return spellMenus[activeHero]; }
public:
geometry::Vector<int> CalculateScreenOffset(SDL_Surface *screen) const {