Method | Description | |
---|---|---|
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 |
Method | Description | |
---|---|---|
CalculateCollisions ( ) : void |
Calculates the collision matrix and checks the distances
|
|
CheckNextSpawnTime ( Osls.Plants.RoadConstructionSite.PathController referencePath, int time ) : int | ||
CollectCompletedEntities ( ) : void |
public CalculateNextStep ( int deltaTimeMs ) : void | ||
deltaTimeMs | int | |
return | void |
public TrafficController ( Osls.Plants.RoadConstructionSite.PathController topPath, Osls.Plants.RoadConstructionSite.PathController botPath ) : Godot | ||
topPath | Osls.Plants.RoadConstructionSite.PathController | |
botPath | Osls.Plants.RoadConstructionSite.PathController | |
return | Godot |