C# Class TrafficManager.CustomAI.CustomRoadAI

Inheritance: RoadBaseAI
Show file Open project: seiggy/Skylines-Traffic-Manager

Public Properties

Property Type Description
NodeDictionary TrafficLightSimulation>.Dictionary

Public Methods

Method Description
AddNodeToSimulation ( ushort nodeId ) : void
Awake ( ) : void
CustomSimulationStep ( ushort nodeId, NetNode &data ) : void
GetNodeSimulation ( ushort nodeId ) : TrafficLightSimulation
OriginalSimulationStep ( ushort nodeId, NetNode &data ) : void
RemoveNodeFromSimulation ( ushort nodeId ) : void
Update ( ) : void

Method Details

AddNodeToSimulation() public static method

public static AddNodeToSimulation ( ushort nodeId ) : void
nodeId ushort
return void

Awake() public method

public Awake ( ) : void
return void

CustomSimulationStep() public method

public CustomSimulationStep ( ushort nodeId, NetNode &data ) : void
nodeId ushort
data NetNode
return void

GetNodeSimulation() public static method

public static GetNodeSimulation ( ushort nodeId ) : TrafficLightSimulation
nodeId ushort
return TrafficManager.TrafficLight.TrafficLightSimulation

OriginalSimulationStep() public method

public OriginalSimulationStep ( ushort nodeId, NetNode &data ) : void
nodeId ushort
data NetNode
return void

RemoveNodeFromSimulation() public static method

public static RemoveNodeFromSimulation ( ushort nodeId ) : void
nodeId ushort
return void

Update() public method

public Update ( ) : void
return void

Property Details

NodeDictionary public static property

public static Dictionary NodeDictionary
return TrafficLightSimulation>.Dictionary