C# Class TrafficManager.Traffic.TimedTrafficSteps

Inheritance: ICloneable
显示文件 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_oe property

public uint Frame
return uint

LightLeft public_oe property

public List LightLeft
return List

LightMain public_oe property

public List LightMain
return List

LightPedestrian public_oe property

public List LightPedestrian
return List

LightRight public_oe property

public List LightRight
return List

NodeId public_oe property

public ushort NodeId
return ushort

NumSteps public_oe property

public int NumSteps
return int

Segments public_oe property

public List Segments
return List