Click or drag to resize

ISimulationServiceSetCarDefect Method

[This is preliminary documentation and is subject to change.]

Method to create obstacles (in this case a defect car)

Namespace:  TrafficSimulation.Simulation.Contracts
Assembly:  TrafficSimulation.Simulation.Contracts (in TrafficSimulation.Simulation.Contracts.dll) Version: 1.0.0.2 (1.0.0.2)
Syntax
void SetCarDefect(
	int id,
	bool isDefect
)

Parameters

id
Type: SystemInt32
the id of the car
isDefect
Type: SystemBoolean
true if the car is defect, false either.
See Also