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