Crystal AI
1.0.0
|
Interface to Transitions. A transition is an T:Crystal.IAction that transfers control to a behaviour or another AI. More...
Public Member Functions | |
IAction | Select (IContext context) |
Triggers the action selection mechanism of the associated T:Crystal.IBehaviour or T:Crystal.IUtilityAi. More... | |
Public Member Functions inherited from Crystal.IAction | |
void | Execute (IContext context) |
Executes the AI Action. More... | |
Public Member Functions inherited from Crystal.IAiPrototype< IAction > | |
T | Clone () |
Creates a new instance of the implementing class. Note that the semantics here are somewhat vague, however, by convention the "Prototype Pattern" uses a "Clone" function. Note that this may have very different semantics when compared with either shallow or deep cloning. When implementing this remember to include only the defining characteristics of the class and not its state! More... | |
Additional Inherited Members | |
Properties inherited from Crystal.IAction | |
string | NameId [get] |
A unique identifier for this action. More... | |
float | ElapsedTime [get] |
The Time that this action has been running for since it has been started in seconds. More... | |
float | Cooldown [get, set] |
The required cool-down time, in seconds, needed before this action executes again. More... | |
bool | InCooldown [get] |
This returns true if the cool-down time for this action has not yet elapsed. More... | |
ActionStatus | ActionStatus [get] |
Gets the action status. More... | |
Interface to Transitions. A transition is an T:Crystal.IAction that transfers control to a behaviour or another AI.
Triggers the action selection mechanism of the associated T:Crystal.IBehaviour or T:Crystal.IUtilityAi.
context | The context. |
Implemented in Crystal.BehaviourTransition, and Crystal.AiTransition.