if (this.terrain.get(0, i) !== TERRAIN_MASK_WALL && !safety.directions.W) {
                exits.push(encodePosition(new RoomPosition(0, i, this.roomName)));
            }