Click or drag to resize

TrafficLight Constructor

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

c'tor

Namespace:  TrafficSimulation.Simulation.Contracts.DTO
Assembly:  TrafficSimulation.Simulation.Contracts (in TrafficSimulation.Simulation.Contracts.dll) Version: 1.0.0.2 (1.0.0.2)
Syntax
public TrafficLight(
	int id,
	TrafficLightState state,
	int connectionId,
	double positionOnConnection
)

Parameters

id
Type: SystemInt32
the id
state
Type: TrafficSimulation.Simulation.Contracts.DTOTrafficLightState
the traffic light state
connectionId
Type: SystemInt32
the connection where the traffic light is placed
positionOnConnection
Type: SystemDouble
the position on the connection
See Also