public void AddNewPaddock(string name, bool nearCarnivores, bool nearHerbivores, bool nearAtrium, bool nearRaptors, bool nearHotel) { LocationIdAssigner++; Paddock pen = new Paddock(LocationIdAssigner, name, nearCarnivores, nearHerbivores, nearAtrium, nearRaptors, nearHotel); _ParkLocations.Add(pen); }
public void AddNewDino(string species, string weight, bool carnivore, Paddock location) { AnimalidAssigner++; Dinosaur dino = new Dinosaur(species, AnimalidAssigner, weight, carnivore, location); _DinosaursInPark.Add(dino); }
public Dinosaur(string species, int id, string weight, bool carnivore, Paddock location) { _species = species; _id = id; _weight = weight; _carnivore = carnivore; _hungerLevel = 50; _location = location; _alive = true; }