public void CopyTo(SelectedMorph sm, int cloneFlags) { sm.atom_ = atom_; sm.morph_ = morph_; sm.enabled_.Value = enabled_.Value; sm.Movement = Movement?.Clone(cloneFlags); sm.magnitude_ = magnitude_; }
protected void CopyTo(AtomWithMovementModifier m, int cloneFlags) { base.CopyTo(m, cloneFlags); m.Movement = Movement.Clone(cloneFlags); }