|
|
std::unique_ptr< Behavior > | recoveryBehavior {nullptr} |
| |
◆ Finish()
| void grail::fsm::FSMBehavior::Finish |
( |
AIEntity & |
owner, |
|
|
const BehaviorStatus |
status |
|
) |
| |
|
overridevirtual |
Invoked after the behavior is finished or interrupted
- Parameters
-
| owner | - the entity executing this behavior |
Reimplemented from grail::Behavior.
◆ IsFinished()
| bool grail::fsm::FSMBehavior::IsFinished |
( |
const AIEntity & |
owner | ) |
const |
|
overridevirtual |
- Parameters
-
| owner | - the entity executing this behavior |
Reimplemented from grail::Behavior.
◆ IsLegal()
| bool grail::fsm::FSMBehavior::IsLegal |
( |
const AIEntity & |
owner | ) |
const |
|
overridevirtual |
- Parameters
-
| owner | - the entity executing this behavior |
- Returns
- true if this behavior instance should be considered by decision making algorithms, false otherwise
Reimplemented from grail::Behavior.
◆ Start()
| void grail::fsm::FSMBehavior::Start |
( |
AIEntity & |
owner | ) |
|
|
overridevirtual |
Invoked after the behavior is assigned to AIEntity
- Parameters
-
| owner | - the entity executing this behavior |
Reimplemented from grail::Behavior.
◆ Update()
| void grail::fsm::FSMBehavior::Update |
( |
AIEntity & |
owner, |
|
|
float |
deltaTime |
|
) |
| |
|
overridevirtual |
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 files:
- GrailFiniteStateMachine/Behaviors/FSMBehavior.hh
- GrailFiniteStateMachine/Behaviors/FSMBehavior.cpp