Click or drag to resize

AStarzInitialize Method

Use for a 'step by step' search only. This method is alternate to SearchPath. Initializes AStar before performing search steps manually with NextStep.

Namespace:  Pathfinding
Assembly:  RebornBuddy (in RebornBuddy.exe) Version: 3.3.1; net-4.5.win32; release
Syntax
C#
public void Initialize(
	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.
Exceptions
ExceptionCondition
ArgumentNullExceptionStartNode and EndNode cannot be null.
See Also