X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2FBattle.h;h=314288c6213dbebd892bd90d85c49558aeddecf1;hb=8f4cb4e8ad954ba73fb78a030c969c933a7ed60c;hp=e7cf8a2a2cd6f986d3201124b9e1cb34d8c6b13d;hpb=087783315ac5955c17bb3b051c9351f321653df6;p=l2e.git diff --git a/src/battle/Battle.h b/src/battle/Battle.h index e7cf8a2..314288c 100644 --- a/src/battle/Battle.h +++ b/src/battle/Battle.h @@ -47,7 +47,9 @@ public: bool MonsterAlive(int index) const; bool CapsuleAlive() const; + std::vector::iterator HeroesBegin() { return heroes.begin(); } std::vector::const_iterator HeroesBegin() const { return heroes.begin(); } + std::vector::iterator HeroesEnd() { return heroes.end(); } std::vector::const_iterator HeroesEnd() const { return heroes.end(); } Hero &HeroAt(int index); const Hero &HeroAt(int index) const; @@ -107,6 +109,9 @@ public: bool Victory() const; bool Defeat() const; + int ExpReward() const { return expReward; } + int GoldReward() const { return goldReward; } + private: const PartyLayout *heroesLayout; const PartyLayout *monstersLayout;