C# 클래스 Sharpex2D.Common.Pathfinding.AStar.AStarAlgorithm

상속: IAlgorithm
파일 보기 프로젝트 열기: ThuCommix/Sharpex2D

공개 메소드들

메소드 설명
TrySolve ( Grid grid, GridField startField, GridField targetField, Stack &path ) : bool

Trys to solve a path.

메소드 상세

TrySolve() 공개 메소드

Trys to solve a path.
public TrySolve ( Grid grid, GridField startField, GridField targetField, Stack &path ) : bool
grid Grid The Grid.
startField GridField The Startfield.
targetField GridField The Targetfield.
path Stack Out of Positions.
리턴 bool