Property | Type | Description | |
---|---|---|---|
LightSimulationByNodeId | TrafficLightSimulation>.Dictionary | ||
nodeId | ushort |
Method | Description | |
---|---|---|
AddNodeToSimulation ( ushort nodeId ) : |
Adds a traffic light simulation to the node with the given id
|
|
Destroy ( bool destroyGroup ) : void |
Stops & destroys the traffic light simulation(s) at this node (group)
|
|
DestroyManualTrafficLight ( ) : void | ||
DestroyTimedTrafficLight ( ) : void | ||
GetNodeSimulation ( ushort nodeId ) : |
||
IsManualLight ( ) : bool | ||
IsSimulationActive ( ) : bool | ||
IsTimedLight ( ) : bool | ||
IsTimedLightActive ( ) : bool | ||
RemoveNodeFromSimulation ( ushort nodeId, bool destroyGroup ) : void | ||
SetupManualTrafficLight ( ) : void | ||
SetupTimedTrafficLight ( List |
||
SimulationStep ( ) : void | ||
TrafficLightSimulation ( ushort nodeId ) : System |
Method | Description | |
---|---|---|
OnLevelUnloading ( ) : void | ||
destroyLiveSegments ( ) : void | ||
handleNewSegments ( ) : void | ||
housekeeping ( bool mayDeleteSegmentLights ) : void | ||
setupLiveSegments ( ) : void |
public static AddNodeToSimulation ( ushort nodeId ) : |
||
nodeId | ushort | |
return |
public static GetNodeSimulation ( ushort nodeId ) : |
||
nodeId | ushort | |
return |
public static RemoveNodeFromSimulation ( ushort nodeId, bool destroyGroup ) : void | ||
nodeId | ushort | |
destroyGroup | bool | |
return | void |
public SetupTimedTrafficLight ( List |
||
nodeGroup | List |
|
return | void |
public TrafficLightSimulation ( ushort nodeId ) : System | ||
nodeId | ushort | |
return | System |
public static Dictionary |
||
return | TrafficLightSimulation>.Dictionary |