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; }
public override Evaluatable <double> Clone() => new NumberRandom { Minimum = Minimum.Clone(), Maximum = Maximum.Clone(), Condition = Condition.Clone() };