@Deprecated
    public Wall getDoor(Set<Wall> usedWalls, boolean debug) {
        if (east.wallType.equals(WallType.DoorPart) && west.wallType.equals(WallType.DoorPart)) {
            usedWalls.add(east);
            usedWalls.add(west);
            if (!east.equals(west) && debug) {
                EobLogger.println("Door haven't the same wall type on both sides! [x:" + x + ", y:" + y + ", E:" + east.internalName + ", W:" + west.internalName + "] ");
            }
            return east;
        }
        if (north.wallType.equals(WallType.DoorPart) && south.wallType.equals(WallType.DoorPart)) {
            usedWalls.add(north);
            usedWalls.add(south);
            if (!north.equals(south) && debug) {
                EobLogger.println("Door haven't the same wall type on both sides! [x:" + x + ", y:" + y + ", N:" + north.internalName + ", S:" + south.internalName + "] ");
            }
            return north;
        }
        return null;
    }