diff --git a/osu.Game/Overlays/Direct/DirectPanel.cs b/osu.Game/Overlays/Direct/DirectPanel.cs index c15bc6372d..5b11326745 100644 --- a/osu.Game/Overlays/Direct/DirectPanel.cs +++ b/osu.Game/Overlays/Direct/DirectPanel.cs @@ -19,16 +19,21 @@ namespace osu.Game.Overlays.Direct { protected readonly BeatmapSetInfo SetInfo; + public DirectPanel(BeatmapSetInfo setInfo) + { + SetInfo = setInfo; + } + protected IEnumerable GetDifficultyIcons() { var icons = new List(); - + foreach (var b in SetInfo.Beatmaps) icons.Add(new DifficultyIcon(b)); - + return icons; } - + protected Drawable GetBackground(TextureStore textures) { return new AsyncLoadWrapper(new Sprite @@ -38,11 +43,6 @@ namespace osu.Game.Overlays.Direct }) { RelativeSizeAxes = Axes.Both }; } - public DirectPanel(BeatmapSetInfo setInfo) - { - SetInfo = setInfo; - } - public class Statistic : FillFlowContainer { private readonly SpriteText text;