mirror of
https://github.com/Ellpeck/TinyLifeExampleMod.git
synced 2024-06-08 22:51:36 +02:00
1.6 KiB
1.6 KiB
MultiAction
Namespace: TinyLife > Actions
Assembly: Tiny Life.dll
Implements IGenericDataHolder
Summary
A multi action is an action that can have different actions executed before and/or after itself. This is quite useful if an action requires a TinyLife.Objects.Person
to go somewhere to pick up an item etc.
Constructors
Name | Summary |
---|---|
MultiAction ( ActionType , ActionInfo ) |
Properties
Type | Name | Summary |
---|---|---|
Queue<Action> | FirstActions | The actions that should be executed beore this action |
TimeSpan | MainElapsedTime | The amount of time that has elapsed of this action, excluding the time that TinyLife.Actions.MultiAction.FirstActions took. |
Methods
Return | Name | Summary |
---|---|---|
Boolean | CanCancel ( Action ) |
|
void | Initialize ( ) | |
CompletionType | IsCompleted ( ) | |
void | OnCompleted ( CompletionType ) |
|
void | Update ( GameTime , TimeSpan , GameSpeed ) |
|
Boolean | Validate ( Person ) |