TopDown Engine v5.0
Loading...
Searching...
No Matches
MoreMountains.TopDownEngine.AIDecisionPathfinderPathToTargetExists Class Reference

This decision will return true if there's no path to the current brain Target. More...

Inheritance diagram for MoreMountains.TopDownEngine.AIDecisionPathfinderPathToTargetExists:
MoreMountains.Tools.AIDecision

Public Member Functions

override void Initialization ()
 On init we grab our pathfinder ability.
override bool Decide ()
 We return true on Decide.
Public Member Functions inherited from MoreMountains.Tools.AIDecision
bool Decide ()
 Decide will be performed every frame while the Brain is in a state this Decision is in. Should return true or false, which will then determine the transition's outcome.
virtual void OnEnterState ()
 Meant to be overridden, called when the Brain enters a State this Decision is in.
virtual void OnExitState ()
 Meant to be overridden, called when the Brain exits a State this Decision is in.

Protected Attributes

CharacterPathfinder3D _characterPathfinder3D
Protected Attributes inherited from MoreMountains.Tools.AIDecision
AIBrain _brain

Additional Inherited Members

Public Attributes inherited from MoreMountains.Tools.AIDecision
string Label
 a label you can set to organize your AI Decisions, not used by anything else
Protected Member Functions inherited from MoreMountains.Tools.AIDecision
virtual void Awake ()
 On Awake we grab our Brain.
Properties inherited from MoreMountains.Tools.AIDecision
virtual bool DecisionInProgress [get, set]

Detailed Description

This decision will return true if there's no path to the current brain Target.

Member Function Documentation

◆ Decide()

override bool MoreMountains.TopDownEngine.AIDecisionPathfinderPathToTargetExists.Decide ( )

We return true on Decide.

Returns

◆ Initialization()

override void MoreMountains.TopDownEngine.AIDecisionPathfinderPathToTargetExists.Initialization ( )
virtual

On init we grab our pathfinder ability.

Reimplemented from MoreMountains.Tools.AIDecision.

Member Data Documentation

◆ _characterPathfinder3D

CharacterPathfinder3D MoreMountains.TopDownEngine.AIDecisionPathfinderPathToTargetExists._characterPathfinder3D
protected

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