Class TraversalProvider Extends ITraversalProvider

Public

Blocks nodes according to a BlockManager.

Public Methods

CanTraverse (path, ...)

True if...

GetTraversalCost (path, node)

Cost of traversing a given node.

TraversalProvider (blockManager, mode, selector)

Public Variables

filterDiagonalGridConnections

Filter diagonal connections using GridGraph.cutCorners for effects applied by this ITraversalProvider.

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