C# 클래스 TrafficManager.PrioritySegment

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

공개 프로퍼티들

프로퍼티 타입 설명
Cars List
CarsOnLanes int[]
Nodeid ushort
NumCars int
Segmentid int
Type PriorityType

공개 메소드들

메소드 설명
AddCar ( ushort vehicleId ) : void
GetCarsOnLane ( int lane ) : int
HasCar ( ushort vehicleId ) : bool
PrioritySegment ( ushort nodeid, int segmentid, PriorityType type ) : System
RemoveCar ( ushort vehicleId ) : void

비공개 메소드들

메소드 설명
_numCarsOnLane ( ) : void

메소드 상세

AddCar() 공개 메소드

public AddCar ( ushort vehicleId ) : void
vehicleId ushort
리턴 void

GetCarsOnLane() 공개 메소드

public GetCarsOnLane ( int lane ) : int
lane int
리턴 int

HasCar() 공개 메소드

public HasCar ( ushort vehicleId ) : bool
vehicleId ushort
리턴 bool

PrioritySegment() 공개 메소드

public PrioritySegment ( ushort nodeid, int segmentid, PriorityType type ) : System
nodeid ushort
segmentid int
type PriorityType
리턴 System

RemoveCar() 공개 메소드

public RemoveCar ( ushort vehicleId ) : void
vehicleId ushort
리턴 void

프로퍼티 상세

Cars 공개적으로 프로퍼티

public List Cars
리턴 List

CarsOnLanes 공개적으로 프로퍼티

public int[] CarsOnLanes
리턴 int[]

Nodeid 공개적으로 프로퍼티

public ushort Nodeid
리턴 ushort

NumCars 공개적으로 프로퍼티

public int NumCars
리턴 int

Segmentid 공개적으로 프로퍼티

public int Segmentid
리턴 int

Type 공개적으로 프로퍼티

public PriorityType Type
리턴 PriorityType