mirror of
https://github.com/ppy/osu
synced 2025-01-02 12:22:13 +00:00
Remove Grid class
This commit is contained in:
parent
d9bb90078b
commit
16e85ae0b1
@ -45,7 +45,7 @@ namespace osu.Game.Rulesets.Mania.Edit
|
||||
[Resolved]
|
||||
private BindableBeatDivisor beatDivisor { get; set; }
|
||||
|
||||
private readonly List<Grid> grids = new List<Grid>();
|
||||
private readonly List<ScrollingHitObjectContainer> grids = new List<ScrollingHitObjectContainer>();
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
private void load()
|
||||
@ -54,10 +54,10 @@ namespace osu.Game.Rulesets.Mania.Edit
|
||||
{
|
||||
foreach (var column in stage.Columns)
|
||||
{
|
||||
var grid = new Grid();
|
||||
var lineContainer = new ScrollingHitObjectContainer();
|
||||
|
||||
grids.Add(grid);
|
||||
column.UnderlayElements.Add(grid);
|
||||
grids.Add(lineContainer);
|
||||
column.UnderlayElements.Add(lineContainer);
|
||||
}
|
||||
}
|
||||
|
||||
@ -212,18 +212,6 @@ namespace osu.Game.Rulesets.Mania.Edit
|
||||
}
|
||||
}
|
||||
|
||||
private class Grid : ScrollingHitObjectContainer
|
||||
{
|
||||
[Resolved]
|
||||
private IManiaHitObjectComposer composer { get; set; }
|
||||
|
||||
protected override void LoadComplete()
|
||||
{
|
||||
base.LoadComplete();
|
||||
Clock = composer.Playfield.Clock;
|
||||
}
|
||||
}
|
||||
|
||||
private class DrawableGridLine : DrawableHitObject
|
||||
{
|
||||
[Resolved]
|
||||
|
Loading…
Reference in New Issue
Block a user