public BaseGesture(GestureController gestureController, double timeOffset, DB.Gesture gesture) : base(gesture)
        {
            logger.AddLogAppender <ConsoleAppender>();

            this.gestureController = gestureController;
            this.timeOffset        = timeOffset;
        }
Esempio n. 2
0
        public void AddGesture(DB.Gesture gesture, double timeOffset)
        {
            BaseGesture newGesture = null;

            switch (gesture.GestureType)
            {
            case Gestures.ExtendedHand:
                newGesture = new ExtendedHand(gesture, this, timeOffset);
                break;

            case Gestures.Fist:
                newGesture = new Fist(gesture, this, timeOffset);
                break;
            }

            gestures.Add(newGesture);
        }
Esempio n. 3
0
 public ExtendedHand(DB.Gesture gesture, GestureController gestureController, double timeOffset) : base(gestureController, timeOffset, gesture)
 {
 }
Esempio n. 4
0
 public Fist(DB.Gesture gesture, GestureController gestureController, double timeOffset) : base(gestureController, timeOffset, gesture)
 {
 }