de.matthiasmann.twl.input
Interface Input

All Known Implementing Classes:
LWJGLInput

public interface Input

Abstracted input polling. Allows to use GUI.update() with generic polled input devices.


Method Summary
 boolean pollInput(GUI gui)
          Poll input events.
 

Method Detail

pollInput

boolean pollInput(GUI gui)
Poll input events.

Parameters:
gui - the GUI object which should receive the input
Returns:
true if input events have been processed, false if the input system is currently inactive.
See Also:
GUI.handleKey(int, char, boolean), GUI.handleMouse(int, int, int, boolean), GUI.handleMouseWheel(int)