1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 12:23:22 +08:00

More simplifies

This commit is contained in:
iiSaLMaN 2019-07-28 05:22:09 +03:00
parent 4d49b38277
commit 4143bafd67

View File

@ -21,7 +21,7 @@ namespace osu.Game.Tests.Visual.Gameplay
};
private readonly BreakOverlay breakOverlay, manualBreakOverlay;
private readonly ManualClock manualClock = new ManualClock();
private readonly ManualClock manualClock;
private readonly IReadOnlyList<BreakPeriod> testBreaks = new List<BreakPeriod>
{
@ -43,7 +43,7 @@ namespace osu.Game.Tests.Visual.Gameplay
Add(manualBreakOverlay = new BreakOverlay(true)
{
Alpha = 0,
Clock = new FramedClock(manualClock),
Clock = new FramedClock(manualClock = new ManualClock()),
});
}
@ -94,8 +94,7 @@ namespace osu.Game.Tests.Visual.Gameplay
loadClockStep(true);
loadBreaksStep("multiple breaks", testBreaks);
var b = testBreaks.Last();
addBreakSeeks(b, false);
addBreakSeeks(testBreaks.Last(), false);
}
private void addShowBreakStep(double seconds)