Move statics to RulesetCollection to avoid conflicts later on.

This commit is contained in:
smoogipooo
2017-04-15 04:53:37 +09:00
parent 9927f9aca5
commit 59bfc7abad
16 changed files with 67 additions and 42 deletions

View File

@ -54,7 +54,7 @@ namespace osu.Game.Beatmaps
/// Calculates the star difficulty for this Beatmap.
/// </summary>
/// <returns>The star difficulty.</returns>
public double CalculateStarDifficulty() => Ruleset.GetRuleset(BeatmapInfo.Mode).CreateDifficultyCalculator(this).Calculate();
public double CalculateStarDifficulty() => RulesetCollection.GetRuleset(BeatmapInfo.Mode).CreateDifficultyCalculator(this).Calculate();
/// <summary>
/// Constructs a new beatmap.