public void Copy(ObstacleAvoidanceObject _object) { if (_object == null) { return; } base.Copy(_object); UseCrossBelowSpeed = _object.UseCrossBelowSpeed; UseCrossOverSpeed = _object.UseCrossOverSpeed; //CheckAngle = _object.CheckAngle; ScanningAngle = _object.ScanningAngle; ScanningRange = _object.ScanningRange; UseDynamicScanningRange = _object.UseDynamicScanningRange; DynamicScanningRangeSpeedMultiplier = _object.DynamicScanningRangeSpeedMultiplier; CheckDistanceMax = _object.CheckDistanceMax; UseFixDirection = _object.UseFixDirection; }
public ObstacleAvoidanceObject(ObstacleAvoidanceObject _move) { Copy(_move); }