예제 #1
0
 /// <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 Direction.NONE if the
 /// neighbors are all obstacles.
 /// </returns>
 public Direction GetDirectionOfMinValue(Coord position) => _baseMap.GetDirectionOfMinValue(position);