/// <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); }
/// <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); }