public void GoToMapScreen(SaveFile Current) { SoundLoader.Play("sb-type.wav", false).volume = .5f; SaveFileManager.SetCurrentSaveFile(Current); Current.FullLoad(); SceneManager.LoadScene("MapScreen"); }
private void SelectSaveFile(SaveFile Selected) { SaveFileDialog.Visibility = Visibility.Collapsed; saveFile = Selected; Selected.FullLoad(); IsProtectedViewing = Selected.SaveFileInfo.IsBackup; ShowFileInfo(); GetLevels(); if (LevelSaves.Count > 0) { ShowInfo(LevelSaves.Values.First()); } }