Class TraversalProvider Extends ITraversalProvider

Public

Blocks nodes according to a BlockManager.

Public Methods

CanTraverse (path, node)

True if node should be able to be traversed by the path.

Public
CanTraverse (path, from, to)

True if the path can traverse a link between from and to and if to can be traversed itself.

Public
GetTraversalCost (path, node)

Cost of traversing a given node.

Public
TraversalProvider (blockManager, mode, selector)
Public

Public Variables

filterDiagonalGridConnections
Public
mode

Affects which nodes are considered blocked.

Public

Private/Protected Members

blockManager

Holds information about which nodes are occupied.

Private Readonly
selector

Blockers for this path.

Private Readonly