An AI action that is comprised of one or more other actions, which are executed in order.
More...
|
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...
|
|
| ActionSequence () |
| Initializes a new instance of the ActionSequence class. More...
|
|
| ActionSequence (string nameId, IActionCollection collection) |
| Initializes a new instance of the ActionSequence class. More...
|
|
|
IList< IAction > | Actions [get] |
| Returns the sequence of actions executed when this sequence is selected. More...
|
|
An AI action that is comprised of one or more other actions, which are executed in order.
- See also
- T:Crystal.ITransition
Crystal.ActionSequence.ActionSequence |
( |
| ) |
|
|
inline |
Crystal.ActionSequence.ActionSequence |
( |
string |
nameId, |
|
|
IActionCollection |
collection |
|
) |
| |
|
inline |
Initializes a new instance of the ActionSequence class.
- Parameters
-
nameId | The name identifier. |
collection | The collection. |
override IAction Crystal.ActionSequence.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
override void Crystal.ActionSequence.OnExecute |
( |
IContext |
context | ) |
|
|
inlineprotected |
Executes each child action in sequence.
- Parameters
-
override void Crystal.ActionSequence.OnUpdate |
( |
IContext |
context | ) |
|
|
inlineprotected |
Updates each action in sequence until no action is running.
- Parameters
-
IList<IAction> Crystal.ActionSequence.Actions |
|
get |
Returns the sequence of actions executed when this sequence is selected.
The documentation for this class was generated from the following file:
- Source/Actions/ActionSequence.cs