//Uses the calculateSpeed function of the wheels to calculate the wheel speed. private void CalculateWheelSpeed() { wheelSpeed = 0; CarController.resetSpeed(); wheelSpeed = Wheel.CalculateSpeed(CarController.speed); }
//Uses the calculateSpeed function of the wheels to calculate the wheel speed. private void CalculateWheelSpeed() { wheelSpeed = 0; CarController.resetSpeed(); wheelSpeed = Wheel.CalculateSpeed(CarController.speed); }