X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;ds=inline;f=src%2Fbattle%2FBattleState.h;h=654e147d8ed60a677be4107f314dbc41783413aa;hb=9718062e6ed305d9f8f1674ff172079688e78088;hp=4a07f8e7396ab1fe8c41f2bc0b6e8ac973a39b9b;hpb=f6e55f72530b2d01fbbe8f5745f830d17231c2c4;p=l2e.git diff --git a/src/battle/BattleState.h b/src/battle/BattleState.h index 4a07f8e..654e147 100644 --- a/src/battle/BattleState.h +++ b/src/battle/BattleState.h @@ -109,9 +109,7 @@ public: int MaxHeroes() const { return 4; } int MaxMonsters() const { return monsters.size(); } - const std::vector > &MonsterPositions() const { return monsterPositions; } bool MonsterPositionOccupied(int index) { return index >= 0 && index < int(monsters.size()) && monsters[index].Health() > 0; } - const std::vector > &HeroesPositions() const { return heroesPositions; } bool HeroPositionOccupied(int index) const { return index >= 0 && index < numHeroes; } void SetRunaway() { ranAway = true; } @@ -163,8 +161,6 @@ private: AttackTypeMenu attackTypeMenu; MoveMenu moveMenu; // TODO: combine all data about heros or monsters - std::vector > monsterPositions; - std::vector > heroesPositions; std::vector monsters; std::vector attackOrder; Hero heroes[4];