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