C# Class TrafficManager.SegmentRestrictions

Datei anzeigen Open project: seiggy/Skylines-Traffic-Manager

Public Properties

Property Type Description
SegmentGroup List
SpeedLimits float[]

Public Methods

Method Description
AddLane ( uint lane, int lanenum, NetInfo dir ) : void
GetLane ( int lane ) : TrafficManager.LaneRestrictions
GetLaneByNum ( int laneNum ) : TrafficManager.LaneRestrictions
SegmentRestrictions ( int segmentid, IEnumerable segmentGroup ) : System.Collections.Generic

Method Details

AddLane() public method

public AddLane ( uint lane, int lanenum, NetInfo dir ) : void
lane uint
lanenum int
dir NetInfo
return void

GetLane() public method

public GetLane ( int lane ) : TrafficManager.LaneRestrictions
lane int
return TrafficManager.LaneRestrictions

GetLaneByNum() public method

public GetLaneByNum ( int laneNum ) : TrafficManager.LaneRestrictions
laneNum int
return TrafficManager.LaneRestrictions

SegmentRestrictions() public method

public SegmentRestrictions ( int segmentid, IEnumerable segmentGroup ) : System.Collections.Generic
segmentid int
segmentGroup IEnumerable
return System.Collections.Generic

Property Details

SegmentGroup public_oe property

public List SegmentGroup
return List

SpeedLimits public_oe property

public float[] SpeedLimits
return float[]