Exemplo n.º 1
0
 public void OnRestartButtonPressed(ResultsViewController resultsViewController)
 {
     Hide();
     LevelHelper.PlayLevel(beatmap, difficulty);
 }
Exemplo n.º 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);
        }