The BehaviorSequence class - specialized Behavior executing sequence of provided subbehaviors one by one.
More...
The BehaviorSequence class - specialized Behavior executing sequence of provided subbehaviors one by one.
◆ AddBehavior()
void Grail.BehaviorSequence.AddBehavior |
( |
Behavior |
behavior | ) |
|
|
inline |
AddBehavior - method emplacing new behavior in the sequence
- Parameters
-
behavior | behavior added to the sequence |
◆ Finish()
override void Grail.BehaviorSequence.Finish |
( |
AIEntity |
owner, |
|
|
in BehaviorStatus |
status |
|
) |
| |
|
inlinevirtual |
Invoked after the behavior is finished or interrupted
- Parameters
-
owner | - the entity executing this behavior |
Reimplemented from Grail.Behavior.
◆ IsFinished()
override bool Grail.BehaviorSequence.IsFinished |
( |
AIEntity |
owner | ) |
|
|
inlinevirtual |
- Parameters
-
owner | - the entity executing this behavior |
Reimplemented from Grail.Behavior.
◆ IsInterruptible()
override bool Grail.BehaviorSequence.IsInterruptible |
( |
| ) |
|
|
inlinevirtual |
IsInterruptible
- Returns
- true if current subbehavior is interruptible, false otherwise
Reimplemented from Grail.Behavior.
◆ IsLegal()
override bool Grail.BehaviorSequence.IsLegal |
( |
AIEntity |
owner | ) |
|
|
inlinevirtual |
IsLegal
- Parameters
-
- Returns
- true if current subbehavior is legal, false otherwise
Reimplemented from Grail.Behavior.
◆ Start()
override void Grail.BehaviorSequence.Start |
( |
AIEntity |
owner | ) |
|
|
inlinevirtual |
Invoked after the behavior is assigned to AIEntity
- Parameters
-
owner | - the entity executing this behavior |
Reimplemented from Grail.Behavior.
◆ Update()
override void Grail.BehaviorSequence.Update |
( |
AIEntity |
owner, |
|
|
float |
deltaTime |
|
) |
| |
|
inlinevirtual |
Invoked on each AIManager update
- Parameters
-
owner | - the entity executing this behavior |
Reimplemented from Grail.Behavior.
The documentation for this class was generated from the following file:
- GrailSystem/source/BehaviorSequence.cs