Class CooperativePathHandler Extends PathHandler

Public

Handles thread specific path data for cooperative pathfinding.

See

#PathNodeCooperative

Public Methods

CooperativePathHandler (threadID, totalThreadCount, temporalDepth)
Public
DestroyNode (node)

Internal method to clean up node data.

Public
GetAllPathNodes (node, action)

Calls a delegate with all path nodes associated with the specified node.

Public
GetPathNode (node)

Returns the PathNode corresponding to the specified node.

Public
GetPathNode (nodeIndex)

Path node associated with the specified node.

Public
GetPathNode (nodeIndex, t)
Public
GetPathNode (node, t)
Public
InitializeNode (node)

Internal method to initialize node data.

Public

Public Variables

temporalDepth

Maximum number of time steps to be used in path planning.

Public Readonly

Inherited Public Members

ClearPathIDs ()

Set all nodes' pathIDs to 0.

Public
DebugStringBuilder

StringBuilder that paths can use to build debug strings.

Public Readonly
heap

Binary heap to keep track of nodes on the "Open list".

Public Readonly
InitializeForPath (p)
Public
nodes

Array of all PathNodes.

Public
PathID

ID for the path currently being calculated or last path that was calculated.

Public
threadID
Public Readonly
totalThreadCount
Public Readonly