1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 21:52:55 +08:00

use public List<Column> Columns => listColumnStages.SelectMany(x => x.Columns).ToList(); instead

This commit is contained in:
ANDY840119-PC\andy840119 2018-01-08 23:11:20 +09:00
parent 0426327149
commit d5b436d91b

View File

@ -44,18 +44,7 @@ namespace osu.Game.Rulesets.Mania.UI
}
}
public List<Column> Columns
{
get
{
var list = new List<Column>();
foreach (var stage in listColumnStages)
{
list.AddRange(stage.Columns);
}
return list;
}
}
public List<Column> Columns => listColumnStages.SelectMany(x => x.Columns).ToList();
public ManiaPlayfield(List<StageDefinition> stages)
: base(Axes.Y)