This decision will return true if the Brain's current target is alive, false otherwise.
More...
|
| override bool | Decide () |
| | On Decide we check whether the Target is alive or dead.
|
| 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.
|
|
| virtual bool | CheckIfTargetIsAlive () |
| | Returns true if the Brain's Target is alive, false otherwise.
|
| virtual void | Awake () |
| | On Awake we grab our Brain.
|
|
| string | Label |
| | a label you can set to organize your AI Decisions, not used by anything else
|
| virtual bool | DecisionInProgress [get, set] |
This decision will return true if the Brain's current target is alive, false otherwise.
◆ CheckIfTargetIsAlive()
| virtual bool MoreMountains.TopDownEngine.AIDecisionTargetIsAlive.CheckIfTargetIsAlive |
( |
| ) |
|
|
protectedvirtual |
Returns true if the Brain's Target is alive, false otherwise.
- Returns
◆ Decide()
| override bool MoreMountains.TopDownEngine.AIDecisionTargetIsAlive.Decide |
( |
| ) |
|
On Decide we check whether the Target is alive or dead.
- Returns
◆ _character
| Character MoreMountains.TopDownEngine.AIDecisionTargetIsAlive._character |
|
protected |
The documentation for this class was generated from the following file: