Пример #1
0
 public bool Equals(AnimationFrame <T> other)
 {
     return(Time.Equals(other.Time) && Value.Equals(other.Value));
 }
Пример #2
0
        public int Compare(AnimationFrame <T> x, AnimationFrame <T> y)
        {
            float left = x.Time, right = y.Time;

            return(left > right ? 1 : left < right ? -1 : 0);
        }