Click or drag to resize

AStarzSearchPath Method

Searches for the best path to reach the specified EndNode from the specified StartNode.

Namespace:  Pathfinding
Assembly:  RebornBuddy (in RebornBuddy.exe) Version: 3.3.1; net-4.5.win32; release
Syntax
C#
public bool SearchPath(
	Node StartNode,
	Node EndNode
)

Parameters

StartNode
Type: PathfindingNode
The node from which the path must start.
EndNode
Type: PathfindingNode
The node to which the path must end.

Return Value

Type: Boolean
'true' if succeeded / 'false' if failed.
Exceptions
ExceptionCondition
ArgumentNullExceptionStartNode and EndNode cannot be null.
See Also