Implement ruleset-specific beatmap statistics

This commit is contained in:
smoogipoo
2018-05-07 10:51:17 +09:00
parent 30a3f4f29f
commit 5489976c20
6 changed files with 57 additions and 37 deletions

View File

@ -22,8 +22,6 @@ namespace osu.Game.Rulesets
{
public readonly RulesetInfo RulesetInfo;
public virtual IEnumerable<BeatmapStatistic> GetBeatmapStatistics(WorkingBeatmap beatmap) => new BeatmapStatistic[] { };
public IEnumerable<Mod> GetAllMods() => Enum.GetValues(typeof(ModType)).Cast<ModType>()
// Confine all mods of each mod type into a single IEnumerable<Mod>
.SelectMany(GetModsFor)