public static void Main() { //Create and run the African animal world. ContinentFactory africa = new AfricanFactory(); AnimalKingdom world = new AnimalKingdom(africa); world.RunFoodChain(); //Create and run the American anmal world. ContinentFactory america = new AmericaFactory(); world = new AnimalKingdom(america); world.RunFoodChain(); //wait for user input Console.ReadKey(); }
public void OnClickAnimalKingdom() { Home.SetActive(false); AnimalKingdom.SetActive(true); }
public void OnClosseButtonClicked() { Home.SetActive(true); AnimalKingdom.SetActive(false); Cities.SetActive(false); }
// Start is called before the first frame update void Start() { Home.SetActive(true); AnimalKingdom.SetActive(false); Cities.SetActive(false); }