![]() |
Grail (C#)
1.4.0
A multi-platform, modular, universal engine for embedding advanced AI in games.
|
A high-level abstraction of actions in the game. More...


Public Member Functions | |
| Behavior (Behavior recoveryBehavior=null) | |
| virtual void | Start (AIEntity owner) |
| virtual void | Update (AIEntity owner, float deltaTime) |
| virtual void | Finish (AIEntity owner, in BehaviorStatus status) |
| virtual bool | IsFinished (AIEntity owner) |
| virtual bool | IsLegal (AIEntity owner) |
| virtual bool | IsInterruptible () |
Public Attributes | |
| virtual Behavior | RecoveryBehavior => recoveryBehavior |
Protected Attributes | |
| Behavior | recoveryBehavior |
Properties | |
| BehaviorStatus | Status [get, set] |
A high-level abstraction of actions in the game.
|
inlinevirtual |
Invoked after the behavior is finished or interrupted
| owner | - the entity executing this behavior |
Reimplemented in Grail.Core.BehaviorSequence, and Grail.FSM.FSMBehavior.
|
inlinevirtual |
| owner | - the entity executing this behavior |
Reimplemented in Grail.Core.BehaviorSequence, and Grail.FSM.FSMBehavior.
|
inlinevirtual |
Reimplemented in Grail.Core.BehaviorSequence.
|
inlinevirtual |
| owner | - the entity executing this behavior |
Reimplemented in Grail.Core.BehaviorSequence.
|
inlinevirtual |
Invoked after the behavior is assigned to AIEntity
| owner | - the entity executing this behavior |
Reimplemented in Grail.FSM.FSMBehavior, and Grail.Core.BehaviorSequence.
|
inlinevirtual |
Invoked on each AIManager update
| owner | - the entity executing this behavior |
Reimplemented in Grail.FSM.FSMBehavior, and Grail.Core.BehaviorSequence.