public interface ControllerUiInput<T extends ControllerButton> extends MdxControllerListener
MdxController
based UI inputModifier and Type | Method and Description |
---|---|
void |
disable()
Disables this controller input for the
UiContainer |
void |
dispose()
Cleans up and de-registers this instance from the associated
UiContainer |
void |
enable()
Enables this controller input for the
UiContainer |
T |
getActionButton()
Returns the button used to trigger
Actionable instances |
java.lang.String |
getId()
Returns the unique id of this
ControllerUiInput |
boolean |
isEnabled()
Returns if the controller input is enabled for the
UiContainer |
void |
setActionButton(T actionButton)
Sets the button used for triggering
Actionable instances |
void |
update(float delta)
Updates the input for repeating presses
|
void update(float delta)
delta
- The time since the last frame (in seconds)boolean isEnabled()
UiContainer
void enable()
UiContainer
void disable()
UiContainer
T getActionButton()
Actionable
instancesvoid setActionButton(T actionButton)
Actionable
instancesactionButton
- void dispose()
UiContainer
java.lang.String getId()
ControllerUiInput
String