private void showSaveGame() { using (var form = new FormSaveLoad(gameController)) if (form.ShowDialog() == DialogResult.OK && form.Result == MainMenuResult.LoadGame) { this.gameController.Stop(); var saveController = new SavesController(gameController, SettingsWinforms.Get.FileStorageRootPath); saveController.Load(form.SelectedGameData, LoadingMethods.GameDataSources()); this.gameController.Start(this); this.initPlayers(); this.restartRenderers(); //TODO(v0.8) render thread my try to draw old map before new one is available } }
private void LoadGameFromSaves() { _saveController = new SavesController(); currentGame = _saveController.Load(); }