Beispiel #1
0
 public MeasurementUnit()
 {
     ifSingleJoint = true;
     singleJoint = JointType.ElbowRight;
     plane = PlaneName.None;
 }
Beispiel #2
0
 public void PlanePadChange(PlaneName name, PlanePad pad, PlanePadState state)
 {
     Plane plane = GetPlane((int)name);
       switch (pad)
       {
     case PlanePad.Dive:
       if (state == PlanePadState.Pressed)
     plane.DivePushed();
       else
     plane.DiveReleased();
       break;
     case PlanePad.Lift:
       if (state == PlanePadState.Pressed)
     plane.LiftPushed();
       else
     plane.LiftReleased();
       break;
     case PlanePad.Fire:
       db.Add(plane.Fire());
       break;
       }
 }
 public void PlanePadChange(PlaneName plane, PlanePad pad, PlanePadState state)
 {
     throw new Exception("The method or operation is not implemented.");
 }
 public MeasurementUnit()
 {
     ifSingleJoint = true;
     singleJoint   = JointType.ElbowRight;
     plane         = PlaneName.None;
 }