org.wiigee.event
Class RotationSpeedEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.wiigee.event.RotationSpeedEvent
All Implemented Interfaces:
java.io.Serializable

public class RotationSpeedEvent
extends java.util.EventObject

The RotationSpeedEvent contains the raw angle velocities - psi, theta, phi. This event only occurs, if a Wii Motion Plus is attached.

See Also:
Serialized Form

Field Summary
protected  double phi
           
protected  double psi
           
protected  double theta
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
RotationSpeedEvent(org.wiigee.device.Device source, double psi, double theta, double phi)
           
 
Method Summary
 double getPhi()
           
 double getPsi()
           
 double getTheta()
           
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

psi

protected double psi

theta

protected double theta

phi

protected double phi
Constructor Detail

RotationSpeedEvent

public RotationSpeedEvent(org.wiigee.device.Device source,
                          double psi,
                          double theta,
                          double phi)
Method Detail

getPsi

public double getPsi()

getTheta

public double getTheta()

getPhi

public double getPhi()