TopDown Engine v4.5
Loading...
Searching...
No Matches
MoreMountains.TopDownEngine.AIDecisionMMPathEndReached Class Reference

This decision will return true when the target path reaches its end (this requires it to be in OnlyOnce cycle mode) More...

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

Public Member Functions

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 Initialization ()
 Meant to be overridden, called when the game starts.
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.

Public Attributes

MMPath TargetPath
Public Attributes inherited from MoreMountains.Tools.AIDecision
string Label
 a label you can set to organize your AI Decisions, not used by anything else

Additional Inherited Members

Protected Member Functions inherited from MoreMountains.Tools.AIDecision
virtual void Awake ()
 On Awake we grab our Brain.
Protected Attributes inherited from MoreMountains.Tools.AIDecision
AIBrain _brain
Properties inherited from MoreMountains.Tools.AIDecision
virtual bool DecisionInProgress [get, set]

Detailed Description

This decision will return true when the target path reaches its end (this requires it to be in OnlyOnce cycle mode)

Member Function Documentation

◆ Decide()

override bool MoreMountains.TopDownEngine.AIDecisionMMPathEndReached.Decide ( )

We return true on Decide.

Returns

Member Data Documentation

◆ TargetPath

MMPath MoreMountains.TopDownEngine.AIDecisionMMPathEndReached.TargetPath

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