public WiimoteActionEventArgs(WiimoteAction pWiimoteActionObject) { WiimoteActionObject = pWiimoteActionObject; }
public void sendWiimoteActionEvent(WiimoteAction pWiimoteAction) { WiimoteActionEvent(this, new WiimoteActionEventArgs(pWiimoteAction)); }
/** * This is the function which will analyze the motion data in the CurrentMotionData matrix * */ public void checkMotionData() { WiimoteAction lAction = new WiimoteAction(ProjectCommon.ProjectConstants.TRAINING_NEXT_SELECTION); mParent.sendWiimoteActionEvent(lAction); }