Move constructor above methods in DirectPanel

This commit is contained in:
DrabWeb 2017-05-19 16:12:47 -03:00
parent c3d753a585
commit 6eac19e76b

View File

@ -19,6 +19,11 @@ namespace osu.Game.Overlays.Direct
{ {
protected readonly BeatmapSetInfo SetInfo; protected readonly BeatmapSetInfo SetInfo;
public DirectPanel(BeatmapSetInfo setInfo)
{
SetInfo = setInfo;
}
protected IEnumerable<DifficultyIcon> GetDifficultyIcons() protected IEnumerable<DifficultyIcon> GetDifficultyIcons()
{ {
var icons = new List<DifficultyIcon>(); var icons = new List<DifficultyIcon>();
@ -38,11 +43,6 @@ namespace osu.Game.Overlays.Direct
}) { RelativeSizeAxes = Axes.Both }; }) { RelativeSizeAxes = Axes.Both };
} }
public DirectPanel(BeatmapSetInfo setInfo)
{
SetInfo = setInfo;
}
public class Statistic : FillFlowContainer public class Statistic : FillFlowContainer
{ {
private readonly SpriteText text; private readonly SpriteText text;