C# 클래스 TrafficManager.TrafficLight.TrafficLightsTimed

파일 보기 프로젝트 열기: seiggy/Skylines-Traffic-Manager 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
CurrentStep int
NodeGroup List
NodeId ushort
Steps List
TimedScripts TrafficLightsTimed>.Dictionary

공개 메소드들

메소드 설명
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

메소드 상세

AddStep() 공개 메소드

public AddStep ( int num ) : void
num int
리턴 void

AddTimedLight() 공개 정적인 메소드

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

CheckNextChange() 공개 메소드

public CheckNextChange ( int segmentId, int lightType ) : long
segmentId int
lightType int
리턴 long

CheckStep() 공개 메소드

public CheckStep ( uint frame ) : void
frame uint
리턴 void

GetStep() 공개 메소드

public GetStep ( int stepId ) : TimedTrafficSteps
stepId int
리턴 TrafficManager.Traffic.TimedTrafficSteps

GetTimedLight() 공개 정적인 메소드

public static GetTimedLight ( ushort nodeid ) : TrafficLightsTimed
nodeid ushort
리턴 TrafficLightsTimed

IsStarted() 공개 메소드

public IsStarted ( ) : bool
리턴 bool

IsTimedLight() 공개 정적인 메소드

public static IsTimedLight ( ushort nodeid ) : bool
nodeid ushort
리턴 bool

MoveStep() 공개 메소드

public MoveStep ( int oldPos, int newPos ) : void
oldPos int
newPos int
리턴 void

NumSteps() 공개 메소드

public NumSteps ( ) : int
리턴 int

RemoveStep() 공개 메소드

public RemoveStep ( int id ) : void
id int
리턴 void

RemoveTimedLight() 공개 정적인 메소드

public static RemoveTimedLight ( ushort nodeid ) : void
nodeid ushort
리턴 void

ResetSteps() 공개 메소드

public ResetSteps ( ) : void
리턴 void

SkipStep() 공개 메소드

public SkipStep ( ) : void
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

Stop() 공개 메소드

public Stop ( ) : void
리턴 void

TrafficLightsTimed() 공개 메소드

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

프로퍼티 상세

CurrentStep 공개적으로 프로퍼티

public int CurrentStep
리턴 int

NodeGroup 공개적으로 프로퍼티

public List NodeGroup
리턴 List

NodeId 공개적으로 프로퍼티

public ushort NodeId
리턴 ushort

Steps 공개적으로 프로퍼티

public List Steps
리턴 List

TimedScripts 공개적으로 정적으로 프로퍼티

public static Dictionary TimedScripts
리턴 TrafficLightsTimed>.Dictionary