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

@ -22,19 +22,19 @@ namespace osu.Game.Rulesets.Catch.Beatmaps
{
Name = @"Fruit Count",
Content = fruits.ToString(),
CreateIcon = () => new BeatmapStatisticSprite("circles"),
CreateIcon = () => new BeatmapStatisticIcon(BeatmapStatisticsIconType.Circles),
},
new BeatmapStatistic
{
Name = @"Juice Stream Count",
Content = juiceStreams.ToString(),
CreateIcon = () => new BeatmapStatisticSprite("sliders"),
CreateIcon = () => new BeatmapStatisticIcon(BeatmapStatisticsIconType.Sliders),
},
new BeatmapStatistic
{
Name = @"Banana Shower Count",
Content = bananaShowers.ToString(),
CreateIcon = () => new BeatmapStatisticSprite("spinners"),
CreateIcon = () => new BeatmapStatisticIcon(BeatmapStatisticsIconType.Spinners),
}
};
}