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 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 Exception | Condition |
---|
ArgumentNullException | StartNode and EndNode cannot be null. |
See Also