mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 22:33:05 +08:00
Adjust test to share barline between stages
This commit is contained in:
parent
6a7b0786c9
commit
e9621e7d6e
@ -117,18 +117,16 @@ namespace osu.Game.Rulesets.Mania.Tests
|
|||||||
|
|
||||||
private void createBarLine(bool major)
|
private void createBarLine(bool major)
|
||||||
{
|
{
|
||||||
foreach (var stage in stages)
|
var obj = new BarLine
|
||||||
{
|
{
|
||||||
var obj = new BarLine
|
StartTime = Time.Current + 2000,
|
||||||
{
|
Major = major,
|
||||||
StartTime = Time.Current + 2000,
|
};
|
||||||
Major = major,
|
|
||||||
};
|
|
||||||
|
|
||||||
obj.ApplyDefaults(new ControlPointInfo(), new BeatmapDifficulty());
|
obj.ApplyDefaults(new ControlPointInfo(), new BeatmapDifficulty());
|
||||||
|
|
||||||
|
foreach (var stage in stages)
|
||||||
stage.Add(obj);
|
stage.Add(obj);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private ScrollingTestContainer createStage(ScrollingDirection direction, ManiaAction action)
|
private ScrollingTestContainer createStage(ScrollingDirection direction, ManiaAction action)
|
||||||
|
Loading…
Reference in New Issue
Block a user