/// <summary> /// Constructs a new posture instance described with start- and endposture and maximal duration time /// </summary> /// <param name="name">name of posture</param> /// <param name="gestureDuration">maximal duration of the gesture (in milliseconds)</param> /// <param name="startPosture">starting posture to initiate recognition</param> /// <param name="endPosture">end posture to complete recognition</param> public Gesture(String name, double gestureDuration, Posture startPosture, Posture endPosture) { gestureName = name; }
void pr_postureRecognized(int PlayerIndex, Posture p) { Console.WriteLine(p.postureName); }