java.lang.Object
org.libsdl.event.SDLMouseState
- public class SDLMouseState
- extends java.lang.Object
The SDLMouseState represents a snapshot of the mouse state.
- Version:
- $revision$
|
Field Summary |
private short |
mask
|
private int |
x
|
private int |
y
|
|
Constructor Summary |
SDLMouseState(short mask,
int x,
int y)
Constructs a new SDLMouseState with the given mask,
x, and y parameters |
|
Method Summary |
short |
getMask()
Return the mask. |
int |
getX()
Return the x value. |
int |
getY()
Return the y value. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mask
private short mask
x
private int x
y
private int y
SDLMouseState
public SDLMouseState(short mask,
int x,
int y)
- Constructs a new
SDLMouseState with the given mask,
x, and y parameters
getMask
public short getMask()
- Return the mask.
getX
public int getX()
- Return the x value.
getY
public int getY()
- Return the y value.