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(); } }
public void GhNextAdv() { Console.WriteLine("Where would you like to go next? Please choose Garden | Castle"); string userInput = Console.ReadLine(); Garden garden1 = new Garden("expansive", 100, true); Castle castle2 = new Castle("enormous", 2000, true); if (userInput == "Garden") { garden1.DescribeGarden(); } else { castle2.DescribeCastle(); } }
public void GarNextAdv() { Console.WriteLine("Where would you like to go next? Please choose Forest | Castle"); string userInput = Console.ReadLine(); Forest forest1 = new Forest("miles", 20, false); Castle castle3 = new Castle("enormous", 2000, true); if (userInput == "Forest") { forest1.DescribeForest(); } else { castle3.DescribeCastle(); } }