Example #1
0
        public WaveGesture()
        {
            WaveSegment1 waveRightSegment1 = new WaveSegment1();
            WaveSegment2 waveRightSegment2 = new WaveSegment2();

            _segments = new IGestureSegment[]
            {
                waveRightSegment1,
                waveRightSegment2,
                waveRightSegment1,
                waveRightSegment2,
                waveRightSegment1,
                waveRightSegment2
            };
        }
        public WaveGesture()
        {
            //Create the different parts of the movement
            WaveSegment1 waveSegment1 = new WaveSegment1();
            WaveSegment2 waveSegment2 = new WaveSegment2();

            //And define the order to execute theme to create the movement
            _segments = new IGestureSegment[]
            {
                waveSegment1,
                waveSegment2,
                waveSegment1,
                waveSegment2
            };
        }