Exemplo n.º 1
0
        public static void LoadDesert()
        {
            Run._room = 6;

            Console.Clear();

            switch (Run.input)
            {
            case (int)RoomList.Rooms.town:
                Town.LoadTown();
                break;

            case (int)RoomList.Rooms.beach:
                Beach.LoadBeach();
                break;

            case (int)RoomList.Rooms.cave:
                Cave.loadCave();
                break;

            default:
                InvalidInput.invalidInput();
                break;
            }
        }
Exemplo n.º 2
0
        public static void loadCave()
        {
            Run._room = 7;

            Console.Clear();

            switch (Run.input)
            {
            case (int)RoomList.Rooms.beach:
                Beach.LoadBeach();
                break;

            case (int)RoomList.Rooms.desert:
                Desert.LoadDesert();
                break;

            default:
                InvalidInput.invalidInput();
                break;
            }
        }
Exemplo n.º 3
0
        public static void LoadMountain()
        {
            Run._room = 3;

            Console.Clear();

            Console.WriteLine("You are in the mountains, training hard. For this you get 2 life points." +
                              "\nPress 1 to go to the field.\nPress 4 to go to the beach.");

            switch (Run.input)
            {
            case (int)RoomList.Rooms.field:
                Field.LoadField();
                break;

            case (int)RoomList.Rooms.beach:
                Beach.LoadBeach();
                break;

            default:
                InvalidInput.invalidInput();
                break;
            }
        }