public void ForestNextAdv() { Console.WriteLine("Where would you like to go next? Please choose Greenhouse | Library"); string userInput = Console.ReadLine(); Greenhouse greenhouse1 = new Greenhouse("huge", 1000, true); if (userInput == "Greenhouse") { greenhouse1.DescribeGreenhouse(); } else { Console.WriteLine("The Library is under construction, please move on to the Greenhouse"); ForestNextAdv(); } }
static void Main(string[] args) { Console.WriteLine("This campus has so much to explore! Where would you like to go first? Please choose Castle | Greenhouse"); string userInput = Console.ReadLine(); Castle castle1 = new Castle("enormous", 2000, true); Greenhouse greenhouse1 = new Greenhouse("huge", 1000, true); if (userInput == "Castle") { castle1.DescribeCastle(); } else { greenhouse1.DescribeGreenhouse(); } }