C# 클래스 Osls.Plants.RoadConstructionSite.TrafficController

Controls the cars in the simulation
파일 보기 프로젝트 열기: Kersoph/open-sequential-logic-sandbox

공개 메소드들

메소드 설명
CalculateNextStep ( int deltaTimeMs ) : void

Called every simulation step to update the traffic

CollectReports ( ) : List

Returns the collected reports for the simulated cars

TrafficController ( Osls.Plants.RoadConstructionSite.PathController topPath, Osls.Plants.RoadConstructionSite.PathController botPath ) : Godot

비공개 메소드들

메소드 설명
CalculateCollisions ( ) : void

Calculates the collision matrix and checks the distances

CheckNextSpawnTime ( Osls.Plants.RoadConstructionSite.PathController referencePath, int time ) : int
CollectCompletedEntities ( ) : void

메소드 상세

CalculateNextStep() 공개 메소드

Called every simulation step to update the traffic
public CalculateNextStep ( int deltaTimeMs ) : void
deltaTimeMs int
리턴 void

CollectReports() 공개 메소드

Returns the collected reports for the simulated cars
public CollectReports ( ) : List
리턴 List

TrafficController() 공개 메소드

public TrafficController ( Osls.Plants.RoadConstructionSite.PathController topPath, Osls.Plants.RoadConstructionSite.PathController botPath ) : Godot
topPath Osls.Plants.RoadConstructionSite.PathController
botPath Osls.Plants.RoadConstructionSite.PathController
리턴 Godot