class TargetSelection;
}
namespace common {
+ struct GameState;
class Stats;
+ class Upgrade;
}
#include "Capsule.h"
bool MonsterAlive(int index) const;
bool CapsuleAlive() const;
+ std::vector<Hero>::iterator HeroesBegin() { return heroes.begin(); }
std::vector<Hero>::const_iterator HeroesBegin() const { return heroes.begin(); }
+ std::vector<Hero>::iterator HeroesEnd() { return heroes.end(); }
std::vector<Hero>::const_iterator HeroesEnd() const { return heroes.end(); }
Hero &HeroAt(int index);
const Hero &HeroAt(int index) const;
bool Victory() const;
bool Defeat() const;
+ int ExpReward() const { return expReward; }
+ int GoldReward() const { return goldReward; }
+ void ApplyRewards(
+ common::GameState &,
+ std::vector<common::Upgrade> &);
+
private:
const PartyLayout *heroesLayout;
const PartyLayout *monstersLayout;