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