///AUTHOR:Khaled public void InitializeGestures() { IRelativeGestureSegment[] StepRightSegments = new IRelativeGestureSegment[1]; StepRightGesture1 stepRightGesture1 = new StepRightGesture1(); StepRightSegments[0] = stepRightGesture1; this.gestureController.AddGesture(GestureType.StepRightGesture, StepRightSegments); IRelativeGestureSegment[] BendSegments = new IRelativeGestureSegment[1]; BendGesture1 bendGesture1 = new BendGesture1(); BendSegments[0] = bendGesture1; this.gestureController.AddGesture(GestureType.BendGesture, BendSegments); IRelativeGestureSegment[] PunchSegments = new IRelativeGestureSegment[1]; PunchGesture1 punchGesture1 = new PunchGesture1(); PunchSegments[0] = punchGesture1; this.gestureController.AddGesture(GestureType.PunchGesture, PunchSegments); IRelativeGestureSegment[] DumbbellSegments = new IRelativeGestureSegment[2]; DumbbellGesture1 dumbbellGesture1 = new DumbbellGesture1(); DumbbellGesture2 dumbbellGesture2 = new DumbbellGesture2(); DumbbellSegments[0] = dumbbellGesture1; DumbbellSegments[1] = dumbbellGesture2; this.gestureController.AddGesture(GestureType.DumbbellGesture, DumbbellSegments); IRelativeGestureSegment[] RunningSegments = new IRelativeGestureSegment[2]; RunningGesture1 runningGesture1 = new RunningGesture1(); RunningGesture2 runningGesture2 = new RunningGesture2(); RunningSegments[0] = runningGesture1; RunningSegments[1] = runningGesture2; this.gestureController.AddGesture(GestureType.RunningGesture, RunningSegments); }