Package com.nerius.game
Interface InputListener
-
public interface InputListener
Encapsulates all low-level user input, via mouse and keyboard.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
keyDown(java.awt.Event evt, int key)
boolean
keyUp(java.awt.Event evt, int key)
boolean
mouseDown(java.awt.Event evt, int x, int y)
boolean
mouseDrag(java.awt.Event evt, int x, int y)
boolean
mouseEnter(java.awt.Event evt, int x, int y)
boolean
mouseExit(java.awt.Event evt, int x, int y)
boolean
mouseMove(java.awt.Event evt, int x, int y)
boolean
mouseUp(java.awt.Event evt, int x, int y)
-
-
-
Method Detail
-
mouseDown
boolean mouseDown(java.awt.Event evt, int x, int y)
-
mouseDrag
boolean mouseDrag(java.awt.Event evt, int x, int y)
-
mouseUp
boolean mouseUp(java.awt.Event evt, int x, int y)
-
mouseMove
boolean mouseMove(java.awt.Event evt, int x, int y)
-
mouseEnter
boolean mouseEnter(java.awt.Event evt, int x, int y)
-
mouseExit
boolean mouseExit(java.awt.Event evt, int x, int y)
-
keyDown
boolean keyDown(java.awt.Event evt, int key)
-
keyUp
boolean keyUp(java.awt.Event evt, int key)
-
-