net.minecraft.util
Class MouseHelper

java.lang.Object
  extended by 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
 
Constructor Summary
MouseHelper(Component par1Component, GameSettings par2GameSettings)
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

deltaX

public int deltaX
Mouse delta X this frame


deltaY

public int deltaY
Mouse delta Y this frame

Constructor Detail

MouseHelper

public MouseHelper(Component par1Component,
                   GameSettings par2GameSettings)
Method Detail

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()