private void FateOf(Gladiator gladiator) { if (gladiator.IsAlive()) { Combatants.Add(gladiator); } else { Graveyard.Add(gladiator); } }
public void CombatResult(Gladiator winner, Gladiator loser, int combatantCount, int graveyardCount) { var s = new StringBuilder(); s.Append($"{winner.Name} wins the fight over {loser.Name}"); if (!loser.IsAlive()) { s.Append($", who has died. He joins {graveyardCount} other poor souls."); } else { s.Append(", who conceded."); } s.Append($" There are still {combatantCount} combatants left."); Console.WriteLine(s.ToString()); C.Wait(1000); }