Function direction_range

  • Given a direction, returns this direction and its adjacent directions.

    Parameters

    Returns directions[]

    Returns the range of the given direction.