Package zombie.input
Class Mouse
java.lang.Object
zombie.input.Mouse
public class Mouse
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description static boolean
bLeftDown
static boolean
bLeftWasDown
static boolean
bMiddleDown
static boolean
bMiddleWasDown
static boolean
bRightDown
static boolean
bRightWasDown
static long
lastActivity
static boolean[]
UICaptured
static int
wheelDelta
protected static int
x
protected static int
y
-
Constructor Summary
Constructors Constructor Description Mouse()
-
Method Summary
Modifier and Type Method Description static int
getWheelState()
static int
getX()
static int
getXA()
static int
getY()
static int
getYA()
static boolean
isButtonDown(int int1)
static boolean
isButtonDownUICheck(int int1)
static boolean
isLeftDown()
static boolean
isLeftPressed()
static boolean
isLeftReleased()
static boolean
isLeftUp()
static boolean
isMiddleDown()
static boolean
isMiddlePressed()
static boolean
isMiddleReleased()
static boolean
isMiddleUp()
static boolean
isRightDown()
static boolean
isRightPressed()
static boolean
isRightReleased()
static boolean
isRightUp()
static void
setXY(int int1, int int2)
static void
UIBlockButtonDown(int int1)
static void
update()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
x
protected static int x -
y
protected static int y -
bLeftDown
public static boolean bLeftDown -
bLeftWasDown
public static boolean bLeftWasDown -
bRightDown
public static boolean bRightDown -
bRightWasDown
public static boolean bRightWasDown -
bMiddleDown
public static boolean bMiddleDown -
bMiddleWasDown
public static boolean bMiddleWasDown -
lastActivity
public static long lastActivity -
wheelDelta
public static int wheelDelta -
UICaptured
public static boolean[] UICaptured
-
-
Constructor Details
-
Mouse
public Mouse()
-
-
Method Details
-
getWheelState
public static int getWheelState() -
getXA
public static int getXA() -
getYA
public static int getYA() -
getX
public static int getX() -
getY
public static int getY() -
isButtonDown
public static boolean isButtonDown(int int1) -
UIBlockButtonDown
public static void UIBlockButtonDown(int int1) -
isButtonDownUICheck
public static boolean isButtonDownUICheck(int int1) -
isLeftDown
public static boolean isLeftDown() -
isLeftPressed
public static boolean isLeftPressed() -
isLeftReleased
public static boolean isLeftReleased() -
isLeftUp
public static boolean isLeftUp() -
isMiddleDown
public static boolean isMiddleDown() -
isMiddlePressed
public static boolean isMiddlePressed() -
isMiddleReleased
public static boolean isMiddleReleased() -
isMiddleUp
public static boolean isMiddleUp() -
isRightDown
public static boolean isRightDown() -
isRightPressed
public static boolean isRightPressed() -
isRightReleased
public static boolean isRightReleased() -
isRightUp
public static boolean isRightUp() -
update
public static void update() -
setXY
public static void setXY(int int1, int int2)
-