|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Used for accessing keyboard and mouse at anytime.
IRender3D
Method Summary | |
int |
getMouseDragX()
Gets the mouse x position relative to this DirectInput component. |
int |
getMouseDragY()
Gets the mouse y position relative to this DirectInput component. |
int |
getMouseX()
Gets the mouse x position relative to this DirectInput component. |
int |
getMouseY()
Gets the mouse y position relative to this DirectInput component. |
boolean |
isKey(int num)
Gets a key state |
boolean |
isMouseB1()
Gets the mouse first button state. |
boolean |
isMouseB2()
Gets the mouse second button state. |
boolean |
isMouseB3()
Gets the mouse third button state. |
boolean |
isMouseDrag()
Gets the mouse dragging state. |
Method Detail |
public int getMouseX()
public int getMouseY()
public boolean isMouseB1()
public boolean isMouseB2()
public boolean isMouseB3()
public boolean isMouseDrag()
public boolean isKey(int num)
num
- keycode of the key to return state.
public int getMouseDragX()
public int getMouseDragY()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |