public void DisplayGameEnd(Fleet roboFleet, Herd dinoHerd) { DisplayGameStatus(roboFleet, dinoHerd); Console.WriteLine(); if (roboFleet.robots.Count == 0) { Console.WriteLine("Dinosaurs Win!"); } if (dinoHerd.dinosaur.Count == 0) { Console.WriteLine("Robots Win!"); } Console.ReadLine(); }
public Battlefield() { herd = new Herd(); fleet = new Fleet(); }
//constructor public Battlefield() { robotFleet = new Fleet(rand); dinoHerd = new Herd(rand); player = new Player(); }