2020-05-23 01:51:08 +08: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-23 02:01:26 +08:00
|
|
|
protected override void ChangePath(Storage storage)
|
2020-05-23 01:51:08 +08:00
|
|
|
{
|
|
|
|
Expire();
|
|
|
|
}
|
|
|
|
|
2020-05-23 02:01:26 +08:00
|
|
|
protected override void AutoDetect()
|
2020-05-23 01:51:08 +08:00
|
|
|
{
|
|
|
|
Expire();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|