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.
|
|
|
|
|
2021-01-11 13:44:07 +08:00
|
|
|
using osu.Game.Tournament.Screens.Setup;
|
2020-05-23 01:51:08 +08:00
|
|
|
|
|
|
|
namespace osu.Game.Tournament.Tests.Screens
|
|
|
|
{
|
2020-05-25 23:16:40 +08:00
|
|
|
public class TestSceneStablePathSelectScreen : TournamentTestScene
|
2020-05-23 01:51:08 +08:00
|
|
|
{
|
2020-05-25 23:16:40 +08:00
|
|
|
public TestSceneStablePathSelectScreen()
|
2020-05-23 01:51:08 +08:00
|
|
|
{
|
2020-05-25 23:16:40 +08:00
|
|
|
AddStep("Add screen", () => Add(new StablePathSelectTestScreen()));
|
2020-05-23 01:51:08 +08:00
|
|
|
}
|
|
|
|
|
2020-05-25 23:16:40 +08:00
|
|
|
private class StablePathSelectTestScreen : StablePathSelectScreen
|
2020-05-23 01:51:08 +08:00
|
|
|
{
|
2020-06-13 21:07:21 +08:00
|
|
|
protected override void ChangePath()
|
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();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|