Base abstract class for actions.
New actions for the DeckStacker system need to derive from this class.
For more info on DeckStacker actions, check out DSActionQueue.
Also see DSTemplateAction for an easy template to get started writing custom DeckStacker actions.
◆ Execute()
void DeckStacker.DSAction.Execute |
( |
| ) |
|
|
abstract |
Override this abstract method to call code when this DSAction is at the front of the DSActionQueue's actionQueue.
◆ LogAction()
void DeckStacker.DSAction.LogAction |
( |
string | actionMessage | ) |
|
|
inlineprotected |
◆ PrintType()
string DeckStacker.DSAction.PrintType |
( |
| ) |
|
|
inline |
A more friendly way of typing "_type.ToString()".
◆ Resolve()
void DeckStacker.DSAction.Resolve |
( |
| ) |
|
|
inline |
Resolving a DSAction removes it from the DSActionQueue.actionQueue, and allows the next DSAction to be executed on the next Update.
◆ _actionLogged
bool DeckStacker.DSAction._actionLogged = false |
|
protected |
Prevents an action from being logged to console multiple times.
◆ _type
System.Type DeckStacker.DSAction._type = null |
|
protected |
type is used for logging actions to console.
The documentation for this class was generated from the following file: