Function EndingConditionProximity.TargetFound

TargetFound (GraphNode node, uint H, uint G)

Has the ending condition been fulfilled.

Public
bool TargetFound (

GraphNode

node

The current node.

uint

H

Heuristic score. See Pathfinding.PathNode.H

uint

G

Cost to reach this node. See Pathfinding.PathNode.G

)

Has the ending condition been fulfilled.

This is per default the same as asking if node == p.endNode