A* Pathfinding Project  3.8.5
The A* Pathfinding Project for Unity 3D
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Events Macros Groups Pages
ABPathEndingCondition Class Reference

Ending condition which emulates the default one for the ABPath. More...

Detailed Description

Ending condition which emulates the default one for the ABPath.

Public Member Functions

 ABPathEndingCondition (ABPath p)
 
override bool TargetFound (PathNode node)
 Has the ending condition been fulfilled.
 
- Public Member Functions inherited from PathEndingCondition
 PathEndingCondition (Path p)
 

Protected Attributes

ABPath abPath
 Path which this ending condition is used on.
 
- Protected Attributes inherited from PathEndingCondition
Path path
 Path which this ending condition is used on.
 

Additional Inherited Members

- Protected Member Functions inherited from PathEndingCondition
 PathEndingCondition ()
 

Constructor & Destructor Documentation

Member Function Documentation

override bool TargetFound ( PathNode  node)
virtual

Has the ending condition been fulfilled.

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

Implements PathEndingCondition.

Reimplemented in EndingConditionProximity.

Member Data Documentation

ABPath abPath
protected

Path which this ending condition is used on.

Same as path but downcasted to ABPath


The documentation for this class was generated from the following file: