Exemplo n.º 1
0
        public void purpleRoom()
        {
            var menus    = new menus();
            var blueroom = new BlueRoom();
            var redroom  = new RedRoom();

            menus.headTitle();
            Console.WriteLine();
            menus.showPurpleRoom();

            string input = Console.ReadLine();

            switch (input)
            {
            case "V":
                Console.Clear();
                blueroom.blueRoom();
                break;

            case "N":
                Console.Clear();
                redroom.redRoom();
                break;

            case "Q":
                menus.shutDown();
                break;

            default:
                menus.invalidInput();
                var purpleroom = new PurpleRoom();
                purpleroom.purpleRoom();
                break;
            }
        }
Exemplo n.º 2
0
        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;
            }
        }