public void redRoom() { var menus = new menus(); var greenroom = new GreenRoom(); var purpleroom = new PurpleRoom(); menus.headTitle(); Console.WriteLine(); menus.showRedRoom(); string input = Console.ReadLine(); switch (input) { case "H": Console.Clear(); greenroom.greenRoom(); break; case "U": Console.Clear(); purpleroom.purpleRoom(); break; case "Q": menus.shutDown(); break; default: menus.invalidInput(); var redroom = new RedRoom(); redroom.redRoom(); break; } }
public void blueRoom() { var menus = new menus(); var blackroom = new BlackRoom(); var purpleroom = new PurpleRoom(); var whiteroom = new WhiteRoom(); var greenroom = new GreenRoom(); menus.headTitle(); Console.WriteLine(); menus.showBlueRoom(); string input = Console.ReadLine(); switch (input) { case "U": Console.Clear(); blackroom.blackRoom(); break; case "H": Console.Clear(); purpleroom.purpleRoom(); break; case "V": Console.Clear(); whiteroom.whiteRoom(); break; case "N": Console.Clear(); greenroom.greenRoom(); break; case "Q": menus.shutDown(); break; default: menus.invalidInput(); var blueroom = new BlueRoom(); blueroom.blueRoom(); break; } }
public void greenRoom() { var menus = new menus(); var hallway = new Hallway(); var blueroom = new BlueRoom(); var redroom = new RedRoom(); menus.headTitle(); menus.showGreenRoom(); string input = Console.ReadLine(); switch (input) { case "U": Console.Clear(); blueroom.blueRoom(); break; case "H": Console.Clear(); redroom.redRoom(); break; case "N": Console.Clear(); hallway.hallway(); break; case "Q": menus.shutDown(); break; default: menus.invalidInput(); var greenroom = new GreenRoom(); greenroom.greenRoom(); break; } }