C# Class TrafficManager.TrafficLight.TrafficLightsManual

Show file Open project: seiggy/Skylines-Traffic-Manager Class Usage Examples

Public Properties

Property Type Description
ManualSegments ManualSegment>.Dictionary

Public Methods

Method Description
AddSegmentLight ( ushort nodeId, int segmentId, RoadBaseAI light ) : void
ClearSegment ( ushort nodeId, int segmentId ) : void
GetSegmentLight ( ushort nodeId, int segmentId ) : ManualSegmentLight
IsSegmentLight ( ushort nodeId, int segmentId ) : bool
RemoveSegmentLight ( ushort nodeId, int segmentId ) : void
SegmentIsIncomingOneWay ( int segmentid, ushort nodeId ) : bool
SegmentIsOneWay ( int segmentid ) : bool

Method Details

AddSegmentLight() public static method

public static AddSegmentLight ( ushort nodeId, int segmentId, RoadBaseAI light ) : void
nodeId ushort
segmentId int
light RoadBaseAI
return void

ClearSegment() public static method

public static ClearSegment ( ushort nodeId, int segmentId ) : void
nodeId ushort
segmentId int
return void

GetSegmentLight() public static method

public static GetSegmentLight ( ushort nodeId, int segmentId ) : ManualSegmentLight
nodeId ushort
segmentId int
return ManualSegmentLight

IsSegmentLight() public static method

public static IsSegmentLight ( ushort nodeId, int segmentId ) : bool
nodeId ushort
segmentId int
return bool

RemoveSegmentLight() public static method

public static RemoveSegmentLight ( ushort nodeId, int segmentId ) : void
nodeId ushort
segmentId int
return void

SegmentIsIncomingOneWay() public static method

public static SegmentIsIncomingOneWay ( int segmentid, ushort nodeId ) : bool
segmentid int
nodeId ushort
return bool

SegmentIsOneWay() public static method

public static SegmentIsOneWay ( int segmentid ) : bool
segmentid int
return bool

Property Details

ManualSegments public static property

public static Dictionary ManualSegments
return ManualSegment>.Dictionary