snakeprogram3d
Class ThreeDEvent
java.lang.Object
snakeprogram3d.ThreeDEvent
public class ThreeDEvent
- extends java.lang.Object
Keeps track of the click type and the position of the click
in 3d space. It is used as a transition for a mouse event.
Constructor Summary |
ThreeDEvent(double x,
double y,
double z)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LEFTCLICK
public static final int LEFTCLICK
- See Also:
- Constant Field Values
RIGHTCLICK
public static final int RIGHTCLICK
- See Also:
- Constant Field Values
x
public double x
y
public double y
z
public double z
type
public int type
ThreeDEvent
public ThreeDEvent(double x,
double y,
double z)
setType
public void setType(int t)