C# Class TrafficManager.TrafficLight.TrafficLightsTimed

Afficher le fichier Open project: seiggy/Skylines-Traffic-Manager Class Usage Examples

Méthodes publiques

Свойство Type Description
CurrentStep int
NodeGroup List
NodeId ushort
Steps List
TimedScripts TrafficLightsTimed>.Dictionary

Méthodes publiques

Méthode 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 méthode

public AddStep ( int num ) : void
num int
Résultat void

AddTimedLight() public static méthode

public static AddTimedLight ( ushort nodeid, List nodeGroup ) : void
nodeid ushort
nodeGroup List
Résultat void

CheckNextChange() public méthode

public CheckNextChange ( int segmentId, int lightType ) : long
segmentId int
lightType int
Résultat long

CheckStep() public méthode

public CheckStep ( uint frame ) : void
frame uint
Résultat void

GetStep() public méthode

public GetStep ( int stepId ) : TimedTrafficSteps
stepId int
Résultat TrafficManager.Traffic.TimedTrafficSteps

GetTimedLight() public static méthode

public static GetTimedLight ( ushort nodeid ) : TrafficLightsTimed
nodeid ushort
Résultat TrafficLightsTimed

IsStarted() public méthode

public IsStarted ( ) : bool
Résultat bool

IsTimedLight() public static méthode

public static IsTimedLight ( ushort nodeid ) : bool
nodeid ushort
Résultat bool

MoveStep() public méthode

public MoveStep ( int oldPos, int newPos ) : void
oldPos int
newPos int
Résultat void

NumSteps() public méthode

public NumSteps ( ) : int
Résultat int

RemoveStep() public méthode

public RemoveStep ( int id ) : void
id int
Résultat void

RemoveTimedLight() public static méthode

public static RemoveTimedLight ( ushort nodeid ) : void
nodeid ushort
Résultat void

ResetSteps() public méthode

public ResetSteps ( ) : void
Résultat void

SkipStep() public méthode

public SkipStep ( ) : void
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void

TrafficLightsTimed() public méthode

public TrafficLightsTimed ( ushort nodeId, IEnumerable nodeGroup ) : System.Collections.Generic
nodeId ushort
nodeGroup IEnumerable
Résultat System.Collections.Generic

Property Details

CurrentStep public_oe property

public int CurrentStep
Résultat int

NodeGroup public_oe property

public List NodeGroup
Résultat List

NodeId public_oe property

public ushort NodeId
Résultat ushort

Steps public_oe property

public List Steps
Résultat List

TimedScripts public_oe static_oe property

public static Dictionary TimedScripts
Résultat TrafficLightsTimed>.Dictionary