Class PathProcessor
Handles path calculations and thread management.
Inner Types
Public Methods
Calls 'Abort' on each of the threads.
Destroyes the given node.
Returns a new global node index.
Initializes temporary path data for a node.
Calls 'Join' on each of the threads to block until they have completed.
Prevents pathfinding threads from starting to calculate any new paths.
Public Variables
Returns whether or not multithreading is used.
Number of parallel pathfinders.
Public Events
Called after every path request.
Called before every path request.
Private/Protected Members
Main pathfinding method.
Main pathfinding method (multithreaded).
Holds the next node index which has not been used by any previous node.
Holds indices for nodes that have been destroyed.
Creates a new path processor.
Queue for paths waiting to be calculated.
Queue to which completed paths will be added.
When no multithreading is used, the IEnumerator is stored here.
References to each of the pathfinding threads.