C# Класс Sharpex2D.Common.Pathfinding.PathFinder

Показать файл Открыть проект

Открытые методы

Метод Описание
TrySolve ( Grid grid, GridField startField, GridField targetField, IAlgorithm algorithm, Stack &path ) : bool

Trys to solve a path.

Описание методов

TrySolve() публичный статический Метод

Trys to solve a path.
public static TrySolve ( Grid grid, GridField startField, GridField targetField, IAlgorithm algorithm, Stack &path ) : bool
grid Grid The Grid.
startField GridField The Startfield.
targetField GridField The Targetfield.
algorithm IAlgorithm The Search-Algorithm.
path Stack Out of Positions.
Результат bool