Strongly type and expose default beatmap information icon implementations for other rulesets

This commit is contained in:
Dean Herbert
2020-09-04 15:01:32 +09:00
parent 7c99f66cf5
commit 25e142965d
8 changed files with 57 additions and 39 deletions

View File

@ -40,13 +40,13 @@ namespace osu.Game.Rulesets.Mania.Beatmaps
new BeatmapStatistic
{
Name = @"Note Count",
CreateIcon = () => new BeatmapStatisticSprite("circles"),
CreateIcon = () => new BeatmapStatisticIcon(BeatmapStatisticsIconType.Circles),
Content = notes.ToString(),
},
new BeatmapStatistic
{
Name = @"Hold Note Count",
CreateIcon = () => new BeatmapStatisticSprite("sliders"),
CreateIcon = () => new BeatmapStatisticIcon(BeatmapStatisticsIconType.Sliders),
Content = holdnotes.ToString(),
},
};