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

Private/Protected Members

pathID

Current PathID.

Private