Exemplo n.º 1
0
 /// <summary>
 /// Invokes the MotionDetected event.
 /// </summary>
 /// <param name="sender">The sender. Usually "this".</param>
 /// <param name="motion">The newly detected motion.</param>
 protected void MotionHasDetected(Hand sender, MotionRecord motion)
 {
     if (MotionDetected != null)
     {
         MotionDetected(sender, motion);
     }
 }
Exemplo n.º 2
0
 public static void MotionDetected(Hand sender, MotionRecord motion)
 {
     Console.WriteLine("Motion detected: {0}", motion.Name);
 }