public class ControllerLifeCycleListener
extends java.lang.Object
implements com.badlogic.gdx.LifecycleListener, android.hardware.input.InputManager.InputDeviceListener
| Constructor and Description |
|---|
ControllerLifeCycleListener(AndroidControllers controllers) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
void |
onInputDeviceAdded(int deviceId) |
void |
onInputDeviceChanged(int deviceId) |
void |
onInputDeviceRemoved(int deviceId) |
void |
pause() |
void |
resume() |
public ControllerLifeCycleListener(AndroidControllers controllers)
public void resume()
resume in interface com.badlogic.gdx.LifecycleListenerpublic void pause()
pause in interface com.badlogic.gdx.LifecycleListenerpublic void onInputDeviceAdded(int deviceId)
onInputDeviceAdded in interface android.hardware.input.InputManager.InputDeviceListenerpublic void onInputDeviceRemoved(int deviceId)
onInputDeviceRemoved in interface android.hardware.input.InputManager.InputDeviceListenerpublic void onInputDeviceChanged(int deviceId)
onInputDeviceChanged in interface android.hardware.input.InputManager.InputDeviceListenerpublic void dispose()
dispose in interface com.badlogic.gdx.LifecycleListener