public static IAnimatedBehavior Maybe(QualifiedAnimation resting, QualifiedAnimation squeezing, HandSide handSide)
        {
            if (resting == squeezing)
            {
                return(SingleAnimatedBehavior.Of(squeezing));
            }

            return(AnalogAnimatedBehavior.Of(resting, squeezing, handSide));
        }
 protected bool Equals(AnalogAnimatedBehavior other)
 {
     return(Resting.Equals(other.Resting) && Squeezing.Equals(other.Squeezing) && HandSide == other.HandSide);
 }