#include "../app/State.h"
#include "../geometry/Point.h"
#include "../geometry/Vector.h"
+#include "../graphics/Menu.h"
#include <vector>
#include <SDL.h>
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]; }
public:
geometry::Vector<int> CalculateScreenOffset(SDL_Surface *screen) const {
std::vector<geometry::Point<int> > heroesPositions;
std::vector<Monster> monsters;
std::vector<Hero> heroes;
+ std::vector<graphics::Menu</* Spell */ void *> > spellMenus;
std::vector<HeroTag> heroTags;
std::vector<AttackChoice> attackChoices;
int activeHero;