Basis voor Gesture herkenning toegevoegd / verbeterd. WiimoteDevice gebruikt nu ook een MotionDevice om MotionData op te slaan en opnieuw af te spelen.
This commit is contained in:
@@ -16,12 +16,15 @@
|
||||
*/
|
||||
package wiiusej.wiiusejevents;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* Abstract mother class representing an event with a wiimote id.
|
||||
*
|
||||
* @author guiguito
|
||||
*/
|
||||
public abstract class GenericEvent {
|
||||
public abstract class GenericEvent implements Serializable {
|
||||
protected static final long serialVersionUID = 1L;
|
||||
|
||||
/* ID */
|
||||
private int wiimoteId = -1;
|
||||
|
||||
@@ -27,8 +27,9 @@ import wiiusej.wiiusejevents.GenericEvent;
|
||||
* @author guiguito
|
||||
*/
|
||||
public class MotionSensingEvent extends GenericEvent {
|
||||
protected static final long serialVersionUID = 1L;
|
||||
|
||||
/* Motion Sensing */
|
||||
/* Motion Sensing */
|
||||
private Orientation orientation;
|
||||
private GForce gforce;
|
||||
private RawAcceleration acceleration;
|
||||
|
||||
Reference in New Issue
Block a user