sdljava.event
public class MouseState extends Object
Version: $Id: MouseState.java,v 1.1 2004/12/27 06:23:49 ivan_ganza Exp $
| Field Summary | |
|---|---|
| MouseButtonState | buttonState |
| int | x |
| int | y |
| Constructor Summary | |
|---|---|
| MouseState(int x, int y, int buttons)
Creates a new MouseState instance.
| |
| Method Summary | |
|---|---|
| MouseButtonState | getButtonState()
Gets the value of buttonState
|
| int | getX()
Gets the value of x
|
| int | getY()
Gets the value of y
|
| String | toString()
Return a string represenation of this object
|
MouseState instance.
Parameters: x an int value y an int value buttons an int value
Returns: the value of buttonState
Returns: the value of x
Returns: the value of y
Returns: a String represenation of this object