public override void changeGearBoxToManual() { GearBox gearbox = GearBox.Create(true, ratios, 0.2f); currentMotor = new CarMotor(power, 8, 8f, gearbox); resetGears(); }
//change gearbox types public override void changeGearBoxToAutomatic() { GearBox gearbox = GearBox.Create(false, ratios, 0.2f); currentMotor = new CarMotor(power, 8, 8f, gearbox); resetGears(); }