Corgi Engine  v8.8
MoreMountains.CorgiEngine.AIDecisionTargetIsAlive Class Reference

This decision will return true if the Brain's current target is alive More...

Inheritance diagram for MoreMountains.CorgiEngine.AIDecisionTargetIsAlive:
MoreMountains.Tools.AIDecision

Public Member Functions

override bool Decide ()
 On Decide we check whether the Target is alive or not More...
 
- Public Member Functions inherited from MoreMountains.Tools.AIDecision
virtual void Initialization ()
 Meant to be overridden, called when the game starts More...
 
virtual void OnEnterState ()
 Meant to be overridden, called when the Brain enters a State this Decision is in More...
 
virtual void OnExitState ()
 Meant to be overridden, called when the Brain exits a State this Decision is in More...
 

Protected Member Functions

virtual bool CheckIfTargetIsAlive ()
 Returns true if the Brain's Target is alive (this will require that the Target has a Character component) More...
 
- Protected Member Functions inherited from MoreMountains.Tools.AIDecision
virtual void Awake ()
 On Awake we grab our Brain More...
 

Protected Attributes

Character _character
 
- 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 More...
 
- 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 alive

Member Function Documentation

◆ CheckIfTargetIsAlive()

virtual bool MoreMountains.CorgiEngine.AIDecisionTargetIsAlive.CheckIfTargetIsAlive ( )
protectedvirtual

Returns true if the Brain's Target is alive (this will require that the Target has a Character component)

Returns

◆ Decide()

override bool MoreMountains.CorgiEngine.AIDecisionTargetIsAlive.Decide ( )
virtual

On Decide we check whether the Target is alive or not

Returns

Implements MoreMountains.Tools.AIDecision.

Member Data Documentation

◆ _character

Character MoreMountains.CorgiEngine.AIDecisionTargetIsAlive._character
protected

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