From f8a8af9f47cd91eabf8f0f367b0f0a9b1d053b65 Mon Sep 17 00:00:00 2001 From: Pacien TRAN-GIRARD Date: Wed, 28 May 2014 22:11:04 +0200 Subject: Fix stairs connection --- src/esieequest/model/Game.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/esieequest/model/Game.java b/src/esieequest/model/Game.java index 65380c1..ecc6feb 100644 --- a/src/esieequest/model/Game.java +++ b/src/esieequest/model/Game.java @@ -99,7 +99,8 @@ public class Game implements SerialisableObject { this.d(Room.ENTRANCE_STREET, Direction.EAST, Room.WING_STREET); this.d(Room.WING_STREET, Direction.NORTH, Room.WING_FLOOR_ONE); this.d(Room.WING_FLOOR_ONE, Direction.WEST, Room.WING_STAIRS_ONE); - this.d(Room.WING_STAIRS_ONE, Direction.SOUTH, Room.WING_STAIRS_TWO); + this.d(Room.WING_STAIRS_ONE, Direction.SOUTH, new Door(Room.WING_STAIRS_TWO)); + this.d(Room.WING_STAIRS_TWO, Direction.SOUTH, new Door(Room.WING_STAIRS_ONE)); this.d(Room.WING_STAIRS_ONE, Direction.UP, new HiddenDoor(Room.WING_STAIRS_TWO)); this.d(Room.WING_STAIRS_TWO, Direction.DOWN, new HiddenDoor(Room.WING_STAIRS_ONE)); this.d(Room.WING_STAIRS_TWO, Direction.EAST, Room.WING_FLOOR_TWO); -- cgit v1.2.3