Ejemplo n.º 1
0
        private void GameLoop_SaveLoaded(object sender, SaveLoadedEventArgs e)
        {
            this.ActiveSaveData = ActiveSaveData.Load(this.helper);

            this.RunPathHandler?.Dispose();
            this.RunPathHandler = new RunPathHandler(this.config, this.helper, this.monitor, this.ActiveSaveData);

            this.CurrentDay = SDate.Now();
        }
Ejemplo n.º 2
0
 public RunPathHandler(ModConfig config, IModHelper helper, IMonitor monitor, ActiveSaveData activeSaveData)
     : base(config, helper, monitor)
 {
     this.activeSaveData = activeSaveData;
 }