public void turn() { battleActions.Sort(); battleActions.Reverse(); for (int i = 0; i < battleActions.Count; i++) { battleManager.log(battleActions[i].take()); } }
public void start() { string log = "battle: ("; for (int i = 0; i < battleCharacters.Count; i++) { log += battleCharacters[i].name + "(HP:" + battleCharacters[i].statuses["HP"] + ") "; } log += ")"; battleManager.log(log); BattleTurn battleTurn = new BattleTurn(battleManager, battleCharacters); battleTurns.Add(battleTurn); battleManager.log("Turn: " + battleTurns.Count); this.continueBattle(null); }