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

This decision will return true if the Brain's current target is null, false otherwise. More...

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

Public Member Functions

override bool Decide ()
 On Decide we check whether the Target is null.
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.

Protected Member Functions

virtual bool CheckIfTargetIsNull ()
 Returns true if the Brain's Target is null.
Protected Member Functions inherited from MoreMountains.Tools.AIDecision
virtual void Awake ()
 On Awake we grab our 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 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 if the Brain's current target is null, false otherwise.

Member Function Documentation

◆ CheckIfTargetIsNull()

virtual bool MoreMountains.TopDownEngine.AIDecisionTargetIsNull.CheckIfTargetIsNull ( )
protectedvirtual

Returns true if the Brain's Target is null.

Returns

◆ Decide()

override bool MoreMountains.TopDownEngine.AIDecisionTargetIsNull.Decide ( )

On Decide we check whether the Target is null.

Returns

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