C# Класс Osls.Plants.RoadConstructionSite.TrafficController

Controls the cars in the simulation
Показать файл Открыть проект

Открытые методы

Метод Описание
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