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;
            }
        }
        public void blackRoom()
        {
            var menus    = new menus();
            var blueroom = new BlueRoom();

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

            string input = Console.ReadLine();

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

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

            default:
                menus.invalidInput();
                var blackroom = new BlackRoom();
                blackroom.blackRoom();
                break;
            }
        }
Esempio n. 3
0
        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;
            }
        }
Esempio n. 4
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;
            }
        }