snakeprogram3d
Class ThreeDEvent

java.lang.Object
  extended by 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.


Field Summary
static int LEFTCLICK
           
static int RIGHTCLICK
           
 int type
           
 double x
           
 double y
           
 double z
           
 
Constructor Summary
ThreeDEvent(double x, double y, double z)
           
 
Method Summary
 void setType(int t)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

ThreeDEvent

public ThreeDEvent(double x,
                   double y,
                   double z)
Method Detail

setType

public void setType(int t)