getEdgeForDiagonalNeighbour

fun LocalEdge.getEdgeForDiagonalNeighbour(neighbor: Tile, flags: Array<IntArray>): Optional<LocalEdge>

If the given tile (diagonal neighbor) is not blocked, it gets added to the neighbors. If it is blocked, we check if there is a door that has a diagonal rotation Flag.Rotation.DIAGONAL