diff options
-rw-r--r-- | src/esieequest/Game.java | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/esieequest/Game.java b/src/esieequest/Game.java index 646bd49..a21c56a 100644 --- a/src/esieequest/Game.java +++ b/src/esieequest/Game.java | |||
@@ -27,7 +27,7 @@ public class Game { | |||
27 | vFinished = this.processCommand(vCommand); | 27 | vFinished = this.processCommand(vCommand); |
28 | } | 28 | } |
29 | 29 | ||
30 | System.out.println("Thank you for playing. Good bye."); | 30 | System.out.println("Thank you for playing. Good bye."); |
31 | } | 31 | } |
32 | 32 | ||
33 | private void createRooms() { | 33 | private void createRooms() { |
@@ -51,8 +51,6 @@ public class Game { | |||
51 | Room vStairsOne = new Room("in the stairwell at main floor"); | 51 | Room vStairsOne = new Room("in the stairwell at main floor"); |
52 | Room vStairsTwo = new Room("in the stairwell at second floor"); | 52 | Room vStairsTwo = new Room("in the stairwell at second floor"); |
53 | Room vCorridorTwo = new Room("at the corridor 3, second floor"); | 53 | Room vCorridorTwo = new Room("at the corridor 3, second floor"); |
54 | Room vWcOne = new Room("in the WC at floor 1, door is closed behind you, you lose, type quit"); | ||
55 | Room vWcTwo = new Room("in the WC at floor 2"); | ||
56 | Room vCorridorTwoOffice = new Room("in front of the office at floor 2"); | 54 | Room vCorridorTwoOffice = new Room("in front of the office at floor 2"); |
57 | Room vOffice = new Room("in the office number 3254 (corridor 3, floor 2, right side 5, room 4)"); | 55 | Room vOffice = new Room("in the office number 3254 (corridor 3, floor 2, right side 5, room 4)"); |
58 | 56 | ||
@@ -72,12 +70,10 @@ public class Game { | |||
72 | vEntranceStairs.setExits(vReception, vRoundabout, null, null); | 70 | vEntranceStairs.setExits(vReception, vRoundabout, null, null); |
73 | vRoundabout.setExits(vEntranceStairs, null, null, null); | 71 | vRoundabout.setExits(vEntranceStairs, null, null, null); |
74 | vWingFront.setExits(vCorridorOne, null, null, vReception); | 72 | vWingFront.setExits(vCorridorOne, null, null, vReception); |
75 | vCorridorOne.setExits(null, vWingFront, vWcOne, vStairsOne); | 73 | vCorridorOne.setExits(null, vWingFront, null, vStairsOne); |
76 | vStairsOne.setExits(null, vStairsTwo, vCorridorOne, null); | 74 | vStairsOne.setExits(null, vStairsTwo, vCorridorOne, null); |
77 | vStairsTwo.setExits(null, vStairsOne, vCorridorTwo, null); | 75 | vStairsTwo.setExits(null, vStairsOne, vCorridorTwo, null); |
78 | vCorridorTwo.setExits(vCorridorTwoOffice, null, vWcTwo, vStairsTwo); | 76 | vCorridorTwo.setExits(vCorridorTwoOffice, null, null, vStairsTwo); |
79 | vWcOne.setExits(null, null, null, null); | ||
80 | vWcTwo.setExits(null, null, null, vCorridorTwo); | ||
81 | vCorridorTwoOffice.setExits(null, vCorridorTwo, vOffice, null); | 77 | vCorridorTwoOffice.setExits(null, vCorridorTwo, vOffice, null); |
82 | vOffice.setExits(null, null, null, vCorridorTwoOffice); | 78 | vOffice.setExits(null, null, null, vCorridorTwoOffice); |
83 | 79 | ||