public interface JoystickObserver
Modifier and Type | Method and Description |
---|---|
void |
addListener(JoystickEventListener newListener)
JoystickObserver interface implementation.
|
void |
removeAllListeners()
Removes all objects that are listening for joystick events
|
void |
removeListener(JoystickEventListener listener)
JoystickObserver interface implementation.
|
void |
stopPollingThread()
Causes the joystick polling thread to exit
|
void addListener(JoystickEventListener newListener)
newListener
- listener to addvoid removeListener(JoystickEventListener listener)
listener
- object to removevoid removeAllListeners()
void stopPollingThread()