/// <summary> /// Re-enters the game to retry. /// </summary> public void Retry() { ScreenNavigator.Hide <ResultScreen>(); OverlayNavigator.Show <GameLoadOverlay>().Model.StartLoad(new GameParameter() { Map = Map.Value, }); }
/// <summary> /// Navigates away toward game screen. /// </summary> public void NavigateToGame() { ScreenNavigator.Hide <PrepareScreen>(); OverlayNavigator.Show <GameLoadOverlay>().Model.StartLoad(new GameParameter() { Map = SelectedMap.Value, }); }
/// <summary> /// Starts replay of this result. /// </summary> public void Replay() { var replayFile = RecordStore.GetReplayFile(record.Value); if (replayFile != null && replayFile.Exists) { ScreenNavigator.Hide <ResultScreen>(); OverlayNavigator.Show <GameLoadOverlay>().Model.StartLoad(new GameParameter() { Map = Map.Value, ReplayFile = replayFile, Record = record.Value, }); } }