From 780bae6cd1a4d2a81b8c3ed72ee5d73cee9b5ccb Mon Sep 17 00:00:00 2001 From: Pacien TRAN-GIRARD Date: Sat, 3 May 2014 22:50:12 +0200 Subject: Hide vertical doors --- 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 6571d3f..549fdc8 100644 --- a/src/esieequest/model/Game.java +++ b/src/esieequest/model/Game.java @@ -82,7 +82,8 @@ public class Game { 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.UP, Room.WING_STAIRS_TWO); + 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); this.d(Room.WING_FLOOR_TWO, Direction.NORTH, Room.WING_OFFICE_CORRIDOR); this.d(Room.WING_OFFICE_CORRIDOR, Direction.EAST, Room.WING_OFFICE); -- cgit v1.2.3