AI Actions Interface. This is the "bottom-line" in that all decision making eventually leads to the execution of a class that implements this interface.
More...
|
void | Execute (IContext context) |
| Executes the AI Action. More...
|
|
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...
|
|
AI Actions Interface. This is the "bottom-line" in that all decision making eventually leads to the execution of a class that implements this interface.
- See also
- T:Crystal.IAiPrototype`1
void Crystal.IAction.Execute |
( |
IContext |
context | ) |
|
float Crystal.IAction.Cooldown |
|
getset |
The required cool-down time, in seconds, needed before this action executes again.
float Crystal.IAction.ElapsedTime |
|
get |
The Time that this action has been running for since it has been started in seconds.
bool Crystal.IAction.InCooldown |
|
get |
This returns true if the cool-down time for this action has not yet elapsed.
string Crystal.IAction.NameId |
|
get |
A unique identifier for this action.
The documentation for this interface was generated from the following file:
- Source/Actions/Interfaces/IAction.cs