public void OnRestartButtonPressed(ResultsViewController resultsViewController)
 {
     Hide();
     LevelHelper.PlayLevel(beatmap, difficulty);
 }
示例#2
0
        private void OnLevelPacksRefreshedPlay(CustomPreviewBeatmapLevel installedMap)
        {
            var difficulty = (BeatmapDifficulty)Enum.Parse(typeof(BeatmapDifficulty), installedMap.standardLevelInfoSaveData.difficultyBeatmapSets.First().difficultyBeatmaps.Last().difficulty);

            LevelHelper.PlayLevel(installedMap, difficulty);
        }