public class InteractiveControlInput extends Object
InteractiveControlInput represents an polymorphic input event (such as a mousedown event
for a button control, or a move event for a joystick control).| Constructor and Description |
|---|
InteractiveControlInput(String controlID,
String event,
Map<String,com.google.gson.JsonElement> input)
Initializes a new
InteractiveControlInput. |
| Modifier and Type | Method and Description |
|---|---|
String |
getControlID()
Returns the identifier for the control that received input.
|
String |
getEvent()
Returns the type of input event.
|
Map<String,com.google.gson.JsonElement> |
getRawInput()
Returns the raw input parameters.
|
public InteractiveControlInput(String controlID, String event, Map<String,com.google.gson.JsonElement> input)
InteractiveControlInput.controlID - Identifier for the control that received inputevent - Type of input eventinput - A Map of raw input parametersCopyright © 2018. All rights reserved.