Methods
(static) fromJson(obj) → {action.InputState}
Parameters:
| Name | Type | Description |
|---|---|---|
obj |
Object.<string, ?> | Object with property |
Throws:
-
If
actionSequence.typeis not valid. - Type
- InvalidArgumentError
Returns:
An InputState object for the type of the
actionSequence.
- Type
- action.InputState
is(other) → {boolean}
Check equality of this InputState object with another.
Parameters:
| Name | Type | Description |
|---|---|---|
other |
InputState | Object representing an input state. |
Returns:
True if this has the same type
as other.
- Type
- boolean