osu/osu.Game.Tournament.Tests/Screens/TestSceneStablePathSelectScreens.cs

30 lines
825 B
C#
Raw Normal View History

2020-05-22 17:51:08 +00:00
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Tournament.Screens;
using osu.Framework.Platform;
namespace osu.Game.Tournament.Tests.Screens
{
public class TestSceneStablePathSelectScreens : TournamentTestScene
{
public TestSceneStablePathSelectScreens()
{
AddStep("Add screen", () => Add(new TestSceneStablePathSelectScreen()));
}
private class TestSceneStablePathSelectScreen : StablePathSelectScreen
{
2020-05-22 18:01:26 +00:00
protected override void ChangePath(Storage storage)
2020-05-22 17:51:08 +00:00
{
Expire();
}
2020-05-22 18:01:26 +00:00
protected override void AutoDetect()
2020-05-22 17:51:08 +00:00
{
Expire();
}
}
}
}