public BattleEventArgs(Bunny[] bunnies, Enemy[] enemies, Bunny selectedBunny, Turn currentTurn, bool isFinalWave) { this.bunnies = bunnies; this.enemies = enemies; this.selectedBunny = selectedBunny; this.currentTurn = currentTurn; this.isFinalWave = isFinalWave; }
/// <summary> /// Insert a level up turn for a bunny. /// </summary> /// <param name="bunny">The bunny that has leveled up.</param> private void PushLevelUpTurn(Bunny bunny) { Turn turn = new Turn(bunny, string.Format(levelUpMessage, bunny.name), () => bunny.FullRestore()); turnCollection.Push(turn); }