Package sig.engine
Class Mouse
- java.lang.Object
-
- sig.engine.Mouse
-
public class Mouse extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.util.HashMap<java.lang.Integer,java.lang.Boolean>
clickMap
static Point<java.lang.Integer>
mousePosition
static java.util.HashMap<java.lang.Integer,java.lang.Boolean>
pressMap
static java.util.HashMap<java.lang.Integer,java.lang.Boolean>
releaseMap
static int
x
static int
y
-
Constructor Summary
Constructors Constructor Description Mouse()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Point<java.lang.Integer>
GetPos()
static boolean
isHeld(java.lang.Integer button)
static boolean
isPressed(java.lang.Integer button)
static boolean
isReleased(java.lang.Integer button)
-
-
-
Field Detail
-
x
public static int x
-
y
public static int y
-
clickMap
public static java.util.HashMap<java.lang.Integer,java.lang.Boolean> clickMap
-
pressMap
public static java.util.HashMap<java.lang.Integer,java.lang.Boolean> pressMap
-
releaseMap
public static java.util.HashMap<java.lang.Integer,java.lang.Boolean> releaseMap
-
mousePosition
public static Point<java.lang.Integer> mousePosition
-
-
Method Detail
-
GetPos
public static Point<java.lang.Integer> GetPos()
-
isHeld
public static boolean isHeld(java.lang.Integer button)
-
isPressed
public static boolean isPressed(java.lang.Integer button)
-
isReleased
public static boolean isReleased(java.lang.Integer button)
-
-