예제 #1
0
        /// <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,
                });
            }
        }