Class PathHandler

Public

Handles thread specific path data.

Public Methods

ClearPathIDs ()

Set all nodes' pathIDs to 0.

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 (nodeIndex)

Path node associated with the specified node.

Public
GetPathNode (node)

Returns the PathNode corresponding to the specified node.

Public
InitializeForPath (p)
Public
InitializeNode (node)

Internal method to initialize node data.

Public
PathHandler (threadID, totalThreadCount)
Public

Public Variables

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
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