public interface InputDevicePointer extends InputDevice, Updatable
Modifier and Type | Method and Description |
---|---|
int |
getClick()
Get the click number.
|
int |
getMoveX()
Get the horizontal movement.
|
int |
getMoveY()
Get the vertical movement.
|
int |
getX()
Get the horizontal location.
|
int |
getY()
Get the vertical location.
|
boolean |
hasClicked(int click)
Check if click is pressed.
|
boolean |
hasClickedOnce(int click)
Check if click is pressed once only (ignore 'still clicked').
|
boolean |
hasMoved()
Check if pointer moved.
|
int getX()
int getY()
int getMoveX()
int getMoveY()
int getClick()
boolean hasClicked(int click)
click
- The click to check.boolean hasClickedOnce(int click)
click
- The click to check.boolean hasMoved()
true
if moved, false
else.Copyright © 2017 Byron 3D Games Studio. All rights reserved.