]> git.localhorst.tv Git - l2e.git/blobdiff - src/battle/BattleState.h
removed redundant BattleState::MonsterAttackChoiceAt(int)
[l2e.git] / src / battle / BattleState.h
index daf2c49124a7432c9b5847f81699d35601df63e5..4964efb81f788be75e23445c28f2e1e00b09805b 100644 (file)
@@ -107,8 +107,6 @@ public:
        const geometry::Point<int> &HeroTagPositionAt(int index) const { assert(index >= 0 && index < NumHeroes()); return heroTagPositions[index]; }
 
        bool HasChosenAttackType() const { return ActiveHero().GetAttackChoice().GetType() != AttackChoice::UNDECIDED; }
-       AttackChoice &MonsterAttackChoiceAt(int index) { assert(index >= 0 && index < MaxMonsters()); return monsters[index].GetAttackChoice(); }
-       const AttackChoice &MonsterAttackChoiceAt(int index) const { assert(index >= 0 && index < MaxMonsters()); return monsters[index].GetAttackChoice(); }
        bool AttackSelectionDone() const { return activeHero >= numHeroes; }
 
        int NumHeroes() const { return numHeroes; }