C# Class Sharpex2D.Common.Pathfinding.PathFinder

Afficher le fichier Open project: ThuCommix/Sharpex2D

Méthodes publiques

Méthode Description
TrySolve ( Grid grid, GridField startField, GridField targetField, IAlgorithm algorithm, Stack &path ) : bool

Trys to solve a path.

Method Details

TrySolve() public static méthode

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.
Résultat bool