create

fun create(vehicle: Vehicle = Vehicle.Car(combustionEngine = CombustionEngine())): VehicleProvider

Creates VehicleProvider with default configuration.

Parameters

vehicle

Vehicle used for setting the initial state. Default value is a combustion engine non-commercial car.

See also