Esempio n. 1
0
        /// <summary>
        /// Adds a friendly gesture.
        /// </summary>
        /// <param name="gesture">The gesture.</param>
        public virtual void AddFriendlyGesture(Gesture gesture)
        {
            if (gesture == null || gesture == this)
            {
                return;
            }

            RegisterFriendlyGesture(gesture);
            gesture.RegisterFriendlyGesture(this);
        }
Esempio n. 2
0
        /// <summary>
        /// Adds a friendly gesture.
        /// </summary>
        /// <param name="gesture">The gesture.</param>
        public virtual void AddFriendlyGesture(Gesture gesture)
        {
            if (gesture == null || gesture == this) return;

            RegisterFriendlyGesture(gesture);
            gesture.RegisterFriendlyGesture(this);
        }