Property | Type | Description | |
---|---|---|---|
destinationNode | Node, | ||
endNode | Node, | ||
startNode | Node, |
Method | Description | |
---|---|---|
DynamicPathThreadJob ( Node, startNode, Node, endNode, HashSet |
Constructor that initializes the start node and end node of the path planning
|
|
getClosedNodes ( ) : HashSet |
Returns already visited nodes in the A* traversal
|
|
getPathWayPoints ( ) : List |
Returns the list of path way points that were determined from ThreadFunction
|
Method | Description | |
---|---|---|
ThreadFunction ( ) : void |
Performs an A* traversal from the start node to the end node; however, the end node only provides a direction for the path finding, as once the current node in the traversal is pathLength away from the start node, the traversal is complete
|
public DynamicPathThreadJob ( Node, startNode, Node, endNode, HashSet |
||
startNode | Node, | Node object where the path planning starts from |
endNode | Node, | Node object representing where the path should move towards |
closedNodes | HashSet |
|
pathLength | double | |
useItemReduction | bool | |
return | System.Collections.Generic |