public void AddNaturalField(NaturalField field) { NaturalFields.Add(field); Console.WriteLine("Natural Field Added"); Console.WriteLine("Press enter to return to Main Menu"); Console.ReadLine(); }
public void AddFacility(object facility) { switch (facility) { case ChickenHouse C: ChickenHouses.Add(C); break; case DuckHouse D: DuckHouses.Add(D); break; case PlowedField P: PlowedFields.Add(P); break; case GrazingField G: GrazingFields.Add(G); break; case NaturalField N: NaturalFields.Add(N); break; } }
public void AddNaturalField(NaturalField field) { NaturalFields.Add(field); Console.WriteLine("Natural Field has been added"); Console.WriteLine("Press enter key to continue"); Console.ReadLine(); }
public void AddNaturalField(NaturalField field) { NaturalFields.Add(field); PlantFields.Add(field); Console.WriteLine("A new natural field has been created."); Thread.Sleep(2000); }
public void AddNaturalField(NaturalField field) { try { NaturalFields.Add(field); //Ticket #29 Console.WriteLine("A new natural field has been created!"); Console.WriteLine("Press enter to continue."); Console.ReadLine(); } catch (Exception ex) { Console.WriteLine("Could not add a natural field."); Console.WriteLine("Press enter to continue."); Console.ReadLine(); } }
public void AddNaturalField(NaturalField field) { NaturalFields.Add(field); }
public void AddNaturalField(NaturalField plant) { NaturalFields.Add(plant); }
public void AddNaturalField(NaturalField field) { NaturalFields.Add(field); Console.WriteLine($"New Natural Field has been created!"); Console.ReadLine(); }
public void AddNaturalField(NaturalField field) { NaturalFields.Add(field); NaturalAndPlowed.Add(field); }
public void AddNaturalField(NaturalField field) { NaturalFields.Add(field); Console.WriteLine("Natural Field successfully created"); Thread.Sleep(1500); }
public void AddNaturalField(NaturalField field) { NaturalFields.Add(field); AvailableNaturalFields.Add(field); }
public void AddNaturalField(NaturalField field) { NaturalFields.Add(field); Console.WriteLine("You have added a Natural field!"); }
public void AddNaturalField(NaturalField naturalField) { NaturalFields.Add(naturalField); }