|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| Method Summary | |
void |
onKeyboardInput(java.util.ArrayList keyCodes)
When input is captured that has keys/actions bound to a class implementing this, onInput is called. |
void |
onMouseButtonInput(java.util.ArrayList keyCodes)
Mouse input is triggered when a mouse button is pressed |
void |
onMouseMovementInput(int changeInX,
int changeInY,
int changeInScrollWheel)
Mouse movement input is trigger when the mouse moves |
| Method Detail |
public void onKeyboardInput(java.util.ArrayList keyCodes)
keyCodes - public void onMouseButtonInput(java.util.ArrayList keyCodes)
keyCodes - If any mouse button is pressed, it will be in this list
public void onMouseMovementInput(int changeInX,
int changeInY,
int changeInScrollWheel)
changeInX - If the mouse has moved in the X direction this will be nonZero indicating the amount it movedchangeInY - If the mouse has moved in the Y direciton this will be nonZero indicating the amount it movedchangeInScrollWheel - If the mouse scroll wheel has moved, this will indicate how far. This will always be 0 if the mouse doesn't have a wheel
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||