C# Class TrafficManager.TrafficLight.TrafficLightsTimed

ファイルを表示 Open project: seiggy/Skylines-Traffic-Manager Class Usage Examples

Public Properties

Property Type Description
CurrentStep int
NodeGroup List
NodeId ushort
Steps List
TimedScripts TrafficLightsTimed>.Dictionary

Public Methods

Method Description
AddStep ( int num ) : void
AddTimedLight ( ushort nodeid, List nodeGroup ) : void
CheckNextChange ( int segmentId, int lightType ) : long
CheckStep ( uint frame ) : void
GetStep ( int stepId ) : TimedTrafficSteps
GetTimedLight ( ushort nodeid ) : TrafficLightsTimed
IsStarted ( ) : bool
IsTimedLight ( ushort nodeid ) : bool
MoveStep ( int oldPos, int newPos ) : void
NumSteps ( ) : int
RemoveStep ( int id ) : void
RemoveTimedLight ( ushort nodeid ) : void
ResetSteps ( ) : void
SkipStep ( ) : void
Start ( ) : void
Stop ( ) : void
TrafficLightsTimed ( ushort nodeId, IEnumerable nodeGroup ) : System.Collections.Generic

Method Details

AddStep() public method

public AddStep ( int num ) : void
num int
return void

AddTimedLight() public static method

public static AddTimedLight ( ushort nodeid, List nodeGroup ) : void
nodeid ushort
nodeGroup List
return void

CheckNextChange() public method

public CheckNextChange ( int segmentId, int lightType ) : long
segmentId int
lightType int
return long

CheckStep() public method

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

GetStep() public method

public GetStep ( int stepId ) : TimedTrafficSteps
stepId int
return TrafficManager.Traffic.TimedTrafficSteps

GetTimedLight() public static method

public static GetTimedLight ( ushort nodeid ) : TrafficLightsTimed
nodeid ushort
return TrafficLightsTimed

IsStarted() public method

public IsStarted ( ) : bool
return bool

IsTimedLight() public static method

public static IsTimedLight ( ushort nodeid ) : bool
nodeid ushort
return bool

MoveStep() public method

public MoveStep ( int oldPos, int newPos ) : void
oldPos int
newPos int
return void

NumSteps() public method

public NumSteps ( ) : int
return int

RemoveStep() public method

public RemoveStep ( int id ) : void
id int
return void

RemoveTimedLight() public static method

public static RemoveTimedLight ( ushort nodeid ) : void
nodeid ushort
return void

ResetSteps() public method

public ResetSteps ( ) : void
return void

SkipStep() public method

public SkipStep ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void

TrafficLightsTimed() public method

public TrafficLightsTimed ( ushort nodeId, IEnumerable nodeGroup ) : System.Collections.Generic
nodeId ushort
nodeGroup IEnumerable
return System.Collections.Generic

Property Details

CurrentStep public_oe property

public int CurrentStep
return int

NodeGroup public_oe property

public List NodeGroup
return List

NodeId public_oe property

public ushort NodeId
return ushort

Steps public_oe property

public List Steps
return List

TimedScripts public_oe static_oe property

public static Dictionary TimedScripts
return TrafficLightsTimed>.Dictionary