Example #1
0
        public GestureState(Gesture gesture)
        {
            this.gesture    = gesture;
            ComponentStates = new List <GestureComponentState>();

            foreach (var component in gesture.Components)
            {
                var state = new GestureComponentState(component);
                ComponentStates.Add(state);
            }

            IsExecuting = false;
        }
Example #2
0
        public GestureState(Gesture gesture)
        {
            this.gesture = gesture;
              ComponentStates = new List<GestureComponentState>();

              foreach (var component in gesture.Components) {
            var state = new GestureComponentState(component);
            ComponentStates.Add(state);
              }

              IsExecuting = false;
        }