using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Kinect;
namespace KinectUtils
{
///
/// The base gesture.
///
public abstract class BaseGesture
{
///
/// The base gesture initializer.
///
public BaseGesture() { }
///
/// The gesture name.
///
public string GestureName { get; set; }
///
/// The gesture recognized event.
///
public EventHandler GestureRecognized { get; set; }
///
/// The test gesture.
///
///
public abstract void TestGesture(Body body);
///
/// The on gesture recognized method.
///
protected void OnGestureRecognized()
{
GestureRecognized?.Invoke(this, new GestureRecognizedEventArgs(GestureName));
}
}
}