示例#1
0
 public void LoadGame(LoadEventArgs e)
 {
     OnLoadingGame(e);
     if (GetComponent <WizardMode>().IsWizardMode)
     {
         GetComponent <SaveLoadFile>().BackupBinary(GameFile);
     }
     GetComponent <SaveLoadFile>().DeleteBinary(GameFile);
 }
示例#2
0
 public void LoadDungeonLevel(LoadEventArgs e)
 {
     OnLoadingDungeon(e);
     if (GetComponent <WizardMode>().IsWizardMode)
     {
         GetComponent <SaveLoadFile>().BackupBinary(DungeonFile);
     }
     GetComponent <SaveLoadFile>().DeleteBinary(DungeonFile);
 }
示例#3
0
 protected virtual void OnLoadingGame(LoadEventArgs e)
 {
     LoadingGame?.Invoke(this, e);
 }
示例#4
0
 protected virtual void OnLoadingDungeon(LoadEventArgs e)
 {
     LoadingDungeon?.Invoke(this, e);
 }