mirror of
https://github.com/ppy/osu
synced 2025-01-04 21:30:08 +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]
|
[Resolved]
|
||||||
private BindableBeatDivisor beatDivisor { get; set; }
|
private BindableBeatDivisor beatDivisor { get; set; }
|
||||||
|
|
||||||
private readonly List<Grid> grids = new List<Grid>();
|
private readonly List<ScrollingHitObjectContainer> grids = new List<ScrollingHitObjectContainer>();
|
||||||
|
|
||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
private void load()
|
private void load()
|
||||||
@ -54,10 +54,10 @@ namespace osu.Game.Rulesets.Mania.Edit
|
|||||||
{
|
{
|
||||||
foreach (var column in stage.Columns)
|
foreach (var column in stage.Columns)
|
||||||
{
|
{
|
||||||
var grid = new Grid();
|
var lineContainer = new ScrollingHitObjectContainer();
|
||||||
|
|
||||||
grids.Add(grid);
|
grids.Add(lineContainer);
|
||||||
column.UnderlayElements.Add(grid);
|
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
|
private class DrawableGridLine : DrawableHitObject
|
||||||
{
|
{
|
||||||
[Resolved]
|
[Resolved]
|
||||||
|
Loading…
Reference in New Issue
Block a user