C# Class TrafficManager.Traffic.TimedTrafficSteps

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

Public Properties

Property Type Description
Frame uint
LightLeft List
LightMain List
LightPedestrian List
LightRight List
NodeId ushort
NumSteps int
Segments List

Public Methods

Method Description
Clone ( ) : object
CurrentStep ( ) : long
GetLight ( int segment, int lightType ) : RoadBaseAI.TrafficLightState
SetFrame ( uint frame ) : void
SetLights ( ) : void
StepDone ( uint frame ) : bool
TimedTrafficSteps ( int num, ushort nodeId ) : System
UpdateLights ( ) : void

Method Details

Clone() public method

public Clone ( ) : object
return object

CurrentStep() public method

public CurrentStep ( ) : long
return long

GetLight() public method

public GetLight ( int segment, int lightType ) : RoadBaseAI.TrafficLightState
segment int
lightType int
return RoadBaseAI.TrafficLightState

SetFrame() public method

public SetFrame ( uint frame ) : void
frame uint
return void

SetLights() public method

public SetLights ( ) : void
return void

StepDone() public method

public StepDone ( uint frame ) : bool
frame uint
return bool

TimedTrafficSteps() public method

public TimedTrafficSteps ( int num, ushort nodeId ) : System
num int
nodeId ushort
return System

UpdateLights() public method

public UpdateLights ( ) : void
return void

Property Details

Frame public property

public uint Frame
return uint

LightLeft public property

public List LightLeft
return List

LightMain public property

public List LightMain
return List

LightPedestrian public property

public List LightPedestrian
return List

LightRight public property

public List LightRight
return List

NodeId public property

public ushort NodeId
return ushort

NumSteps public property

public int NumSteps
return int

Segments public property

public List Segments
return List