mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 19:03:08 +08:00
use public List<Column> Columns => listColumnStages.SelectMany(x => x.Columns).ToList(); instead
This commit is contained in:
parent
0426327149
commit
d5b436d91b
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user