/// <summary> /// Gets the direction of the neighbor with the minimum flee-map value from the given position. /// </summary> /// <param name="position">The position to get the minimum value for.</param> /// <returns> /// The direction that has the minimum value in the goal-map, or <see cref="Direction.NONE"/> if the /// neighbors are all obstacles. /// </returns> public Direction GetDirectionOfMinValue(Coord position) => _goalMap.GetDirectionOfMinValue(position, _baseMap.DistanceMeasurement);