diff options
author | Pacien TRAN-GIRARD | 2014-02-21 23:41:20 +0100 |
---|---|---|
committer | Pacien TRAN-GIRARD | 2014-02-21 23:41:20 +0100 |
commit | 7364c562adb8a5c2ababe5b6ca50100751965603 (patch) | |
tree | dcbf9542638adbe068b024a54e0f3a3c6b448f8b | |
parent | de9d2a4ab6f9803f9cc8159ccd89b5d096b43907 (diff) | |
download | esieequest-7364c562adb8a5c2ababe5b6ca50100751965603.tar.gz |
Add missing off-script room
-rw-r--r-- | src/esieequest/Game.java | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/esieequest/Game.java b/src/esieequest/Game.java index 5589a3a..89b7318 100644 --- a/src/esieequest/Game.java +++ b/src/esieequest/Game.java | |||
@@ -64,6 +64,8 @@ public class Game { | |||
64 | Room vOffscriptEatPantry = new Room("in the pantry"); | 64 | Room vOffscriptEatPantry = new Room("in the pantry"); |
65 | Room vOffscriptTake = new Room("somewhere implementing weight"); | 65 | Room vOffscriptTake = new Room("somewhere implementing weight"); |
66 | Room vOffscriptTakeStorageroom = new Room("in a storage room"); | 66 | Room vOffscriptTakeStorageroom = new Room("in a storage room"); |
67 | Room vOffscriptTimeout = new Room("somewhere implementing time"); | ||
68 | Room vOffscriptTimeoutCountdownroom = new Room("in a dangerous room"); | ||
67 | Room vOffscriptTrapdoor = new Room("somewhere implementing a trap"); | 69 | Room vOffscriptTrapdoor = new Room("somewhere implementing a trap"); |
68 | Room vOffscriptTrapdoorDeadend = new Room("trapped"); | 70 | Room vOffscriptTrapdoorDeadend = new Room("trapped"); |
69 | Room vOffscriptBeamer = new Room("somewhere implementing teleportation"); | 71 | Room vOffscriptBeamer = new Room("somewhere implementing teleportation"); |
@@ -106,9 +108,11 @@ public class Game { | |||
106 | 108 | ||
107 | vOffscriptEat.setExits(vOffscriptEatPantry, vWingCorridorOne, null, vOffscriptTake); | 109 | vOffscriptEat.setExits(vOffscriptEatPantry, vWingCorridorOne, null, vOffscriptTake); |
108 | vOffscriptEatPantry.setExits(null, null, vOffscriptEat, null); | 110 | vOffscriptEatPantry.setExits(null, null, vOffscriptEat, null); |
109 | vOffscriptTake.setExits(vOffscriptTakeStorageroom, vOffscriptEat, null, vOffscriptTrapdoor); | 111 | vOffscriptTake.setExits(vOffscriptTakeStorageroom, vOffscriptEat, null, vOffscriptTimeout); |
110 | vOffscriptTakeStorageroom.setExits(null, null, vOffscriptTake, null); | 112 | vOffscriptTakeStorageroom.setExits(null, null, vOffscriptTake, null); |
111 | vOffscriptTrapdoor.setExits(vOffscriptTrapdoorDeadend, vOffscriptTake, null, vOffscriptBeamer); | 113 | vOffscriptTimeout.setExits(vOffscriptTimeoutCountdownroom, vOffscriptTakeStorageroom, null, vOffscriptTrapdoor); |
114 | vOffscriptTimeoutCountdownroom.setExits(null, null, vOffscriptTimeout, null); | ||
115 | vOffscriptTrapdoor.setExits(vOffscriptTrapdoorDeadend, vOffscriptTimeout, null, vOffscriptBeamer); | ||
112 | vOffscriptTrapdoorDeadend.setExits(null, null, vOffscriptTrapdoor, null); | 116 | vOffscriptTrapdoorDeadend.setExits(null, null, vOffscriptTrapdoor, null); |
113 | vOffscriptBeamer.setExits(vOffscriptBeamerAnchor, vOffscriptTrapdoor, null, vOffscriptLock); | 117 | vOffscriptBeamer.setExits(vOffscriptBeamerAnchor, vOffscriptTrapdoor, null, vOffscriptLock); |
114 | vOffscriptBeamerAnchor.setExits(null, null, vOffscriptBeamer, null); | 118 | vOffscriptBeamerAnchor.setExits(null, null, vOffscriptBeamer, null); |