namespace BBIWARG.Recognition.TouchRecognition
{
///
/// The type of the touch event.
///
public enum TouchEventType
{
Down,
Move,
Up
}
///
/// Represents a touch event (type+touch)
///
public class TouchEvent
{
///
/// the touch of the touch event
///
public Touch Touch { get; private set; }
///
/// the type of the touch event
///
public TouchEventType Type { get; private set; }
///
/// Initializes a new instance of the TouchEvent class.
///
/// The type.
/// The touch.
public TouchEvent(TouchEventType type, Touch touch)
{
Type = type;
Touch = touch;
}
}
}