Ejemplo n.º 1
0
 /// <summary>
 /// Used to wait for workers that are still busy. (In case we simulated faster than real-time)
 /// </summary>
 /// <param name="currentTime">The current simulation time.</param>
 protected void WaitForUnfinishedWorker(double currentTime)
 {
     BotManager.SignalCurrentTime(currentTime);
     StationManager.SignalCurrentTime(currentTime);
     StorageManager.SignalCurrentTime(currentTime);
     PodStorageManager.SignalCurrentTime(currentTime);
     RepositioningManager.SignalCurrentTime(currentTime);
     OrderManager.SignalCurrentTime(currentTime);
     BundleManager.SignalCurrentTime(currentTime);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Exchanges the active pod storage manager with the given one.
 /// </summary>
 /// <param name="newManager">The new manager.</param>
 public void ExchangePodStorageManager(PodStorageManager newManager)
 {
     Instance.RemoveUpdateable(PodStorageManager);
     PodStorageManager = newManager;
     Instance.AddUpdateable(newManager);
 }