public class MouseHelper extends Object
Modifier and Type | Field and Description |
---|---|
int |
deltaX
Mouse delta X this frame
|
int |
deltaY
Mouse delta Y this frame
|
Constructor and Description |
---|
MouseHelper(Component par1Component,
GameSettings par2GameSettings) |
Modifier and Type | Method and Description |
---|---|
void |
grabMouseCursor()
Grabs the mouse cursor it doesn't move and isn't seen.
|
void |
mouseXYChange() |
void |
ungrabMouseCursor()
Ungrabs the mouse cursor so it can be moved and set it to the center of the screen
|
public int deltaX
public int deltaY
public MouseHelper(Component par1Component, GameSettings par2GameSettings)