Méthode | 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 |
Méthode | 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 | |
Résultat | void |
public TrafficController ( Osls.Plants.RoadConstructionSite.PathController topPath, Osls.Plants.RoadConstructionSite.PathController botPath ) : Godot | ||
topPath | Osls.Plants.RoadConstructionSite.PathController | |
botPath | Osls.Plants.RoadConstructionSite.PathController | |
Résultat | Godot |