public void CopyDefault(MoveDataObject _move) { if (_move == null) { return; } StoppingDistance = _move.StoppingDistance; StoppingDistanceMaximum = _move.StoppingDistanceMaximum; IgnoreLevelDifference = _move.IgnoreLevelDifference; SegmentLength = _move.SegmentLength; SegmentLengthMaximum = _move.SegmentLengthMaximum; SegmentVariance = _move.SegmentVariance; DeviationLength = _move.DeviationLength; DeviationLengthMaximum = _move.DeviationLengthMaximum; DeviationVariance = _move.DeviationVariance; }
public void Copy(MoveDataObject _move) { if (_move == null) { return; } base.Copy(_move); SetType(_move.Type); Altitude.Copy(_move.Altitude); Cover = _move.Cover; Detour = _move.Detour; Orbit = _move.Orbit; Escape = _move.Escape; Avoid = _move.Avoid; Motion.Copy(_move.Motion); ViewingDirection = _move.ViewingDirection; ViewingDirectionPosition = _move.ViewingDirectionPosition; StoppingDistance = _move.StoppingDistance; IgnoreLevelDifference = _move.IgnoreLevelDifference; SegmentLength = _move.SegmentLength; SegmentLengthMaximum = _move.SegmentLengthMaximum; SegmentVariance = _move.SegmentVariance; DeviationLength = _move.DeviationLength; DeviationLengthMaximum = _move.DeviationLengthMaximum; DeviationVariance = _move.DeviationVariance; //this.Link = _move.Link; NextBehaviourModeKey = _move.NextBehaviourModeKey; }
public MoveDataObject(MoveDataObject _move) { Copy(_move); }