Package zombie.input
Class MouseState
java.lang.Object
zombie.input.MouseState
public final class MouseState
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description MouseState()
-
Method Summary
Modifier and Type Method Description int
getButtonCount()
int
getDWheel()
int
getX()
int
getY()
boolean
isButtonDown(int int1)
boolean
isCreated()
void
poll()
void
reset()
void
resetDWheel()
void
set(MouseState mouseState)
void
setCursorPosition(int int1, int int2)
boolean
wasPolled()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
MouseState
public MouseState()
-
-
Method Details
-
poll
public void poll() -
wasPolled
public boolean wasPolled() -
set
-
reset
public void reset() -
isCreated
public boolean isCreated() -
getX
public int getX() -
getY
public int getY() -
getDWheel
public int getDWheel() -
resetDWheel
public void resetDWheel() -
isButtonDown
public boolean isButtonDown(int int1) -
getButtonCount
public int getButtonCount() -
setCursorPosition
public void setCursorPosition(int int1, int int2)
-