Beispiel #1
0
 public void SimulationStart(bool heatMapActivated, IPathfinding pathfinding, int milliseconds)
 {
     HeatMapActivated   = heatMapActivated;
     HasSimulationEnded = false;
     People             = OnPrepareSimulation?.Invoke(LocalFloorPlan);
     OnUISimulationStart?.Invoke(heatMapActivated, pathfinding, milliseconds);
 }
Beispiel #2
0
 public void ImportFloorPlan(string filePath)
 {
     LocalFloorPlan = OnImportFloorPlan?.Invoke(filePath);
     People         = OnPrepareSimulation?.Invoke(LocalFloorPlan);
     TheMainWindow.FloorPlanVisualiserControl.ImplementFloorPlan(LocalFloorPlan, People);
     OnBuildingPlanSuccessfullLoaded?.Invoke();
     BuildingHasBeenChanged = true;
 }
Beispiel #3
0
 public void ExportFloorPlan(string filePath)
 {
     People         = OnPrepareSimulation?.Invoke(LocalFloorPlan);
     LocalFloorPlan = OnExportFloorPlan?.Invoke(filePath, LocalFloorPlan, People);
 }