Constructor
# new Action(action, parentState, enabledopt)
Constructs a new Action instance.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
action |
ActionType.<TInputs>
|
The action type definition. | ||
parentState |
State
|
The state this action belongs to. | ||
enabled |
boolean
|
<optional> |
true | Whether the action is enabled. |