AiTransition is an T:Crystal.IAction that when executed triggers a selection of an action in another AI.
More...
|
class | TargetAiDoesNotExistException |
|
class | TargetAiNullException |
|
|
override IAction | 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...
|
|
IAction | Select (IContext context) |
| Triggers the action selection mechanism of the associated T:Crystal.IBehaviour or T:Crystal.IUtilityAi. More...
|
|
| AiTransition (IUtilityAi ai) |
| Initializes a new instance of the AiTransition class. More...
|
|
| AiTransition (string nameId, string aiNameId, IAiCollection collection) |
| Initializes a new instance of the AiTransition class. 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...
|
|
AiTransition is an T:Crystal.IAction that when executed triggers a selection of an action in another AI.
- See also
- T:Crystal.ActionBase, T:Crystal.ITransition
Crystal.AiTransition.AiTransition |
( |
IUtilityAi |
ai | ) |
|
|
inline |
Initializes a new instance of the AiTransition class.
- Parameters
-
- Exceptions
-
Crystal.AiTransition.TargetAiNullException | |
Crystal.AiTransition.AiTransition |
( |
string |
nameId, |
|
|
string |
aiNameId, |
|
|
IAiCollection |
collection |
|
) |
| |
|
inline |
Initializes a new instance of the AiTransition class.
- Parameters
-
nameId | The name identifier. |
aiNameId | The ai name identifier. |
collection | The collection. |
- Exceptions
-
Crystal.ActionBase.NameIdEmptyOrNullException | |
override IAction Crystal.AiTransition.Clone |
( |
| ) |
|
|
inline |
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!
- Returns
Triggers the action selection mechanism of the associated T:Crystal.IBehaviour or T:Crystal.IUtilityAi.
- Parameters
-
- Returns
Implements Crystal.ITransition.
The documentation for this class was generated from the following file:
- Source/Actions/AiTransition.cs