Beispiel #1
0
 private bool CheckPopulationForZero()
 {
     if (CurrentGeneration.CalculatePopulation() != 0)
     {
         return(false);
     }
     Console.WriteLine("All dead! All dead!");
     return(true);
 }