Exemple #1
0
        //---------------------------------------------------------------
        #endregion
        //---------------------------------------------------------------

        //---------------------------------------------------------------
        #region Methods
        //---------------------------------------------------------------
        /// <summary>
        /// Adds a <see cref="Gesture"/> to the list.
        /// </summary>
        /// <param name="gesture"></param>
        public void Add(Gesture gesture)
        {
            list.Add(gesture);
        }
Exemple #2
0
        /// <summary>
        /// Tries to find the gesture in the list, that matches the passed gesture.
        /// </summary>
        /// <param name="gesture">The gesture to find in the list.</param>
        /// <returns>The gesture object in the list that matched the passed gesture.</returns>
        public Gesture Match(Gesture gesture)
        {
            float factor;

            return(Match(gesture, out factor));
        }