org.wiigee.event
Class RotationSpeedEvent
java.lang.Object
java.util.EventObject
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)
|
| 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 |
psi
protected double psi
theta
protected double theta
phi
protected double phi
RotationSpeedEvent
public RotationSpeedEvent(org.wiigee.device.Device source,
double psi,
double theta,
double phi)
getPsi
public double getPsi()
getTheta
public double getTheta()
getPhi
public double getPhi()