Esempio n. 1
0
        private void CopyTo(Movement r, int cloneFlags)
        {
            r.easing_ = easing_?.Clone(cloneFlags);

            if (!Bits.IsSet(cloneFlags, Utilities.CloneZero))
            {
                r.Minimum = Minimum?.Clone(cloneFlags);
                r.Maximum = Maximum?.Clone(cloneFlags);
            }

            r.magnitude_ = 0;
            r.forwards_  = true;
        }
Esempio n. 2
0
 public override Evaluatable <double> Clone() => new NumberRandom
 {
     Minimum = Minimum.Clone(), Maximum = Maximum.Clone(), Condition = Condition.Clone()
 };