324325326327328329330331332333334
break; case WSpeed: distance = new WSpeed(distance, speedObj); break; case RegulSpeed: distance = new RegulSpeed(385); break; } distance = new AdjustDistance(distance);