Пример #1
0
 /// <summary>
 /// convenience shortcut for calling AStarPathfinder.search
 /// </summary>
 public List <Point> Search(Point start, Point goal) => WeightedPathfinder.Search(this, start, goal);
Пример #2
0
 /// <summary>
 /// convenience shortcut for calling AStarPathfinder.search
 /// </summary>
 /// <param name="start">Start.</param>
 /// <param name="goal">Goal.</param>
 public List <Point> Search(Point start, Point goal)
 {
     return(WeightedPathfinder.Search(this, start, goal));
 }