2023-06-23 00:37:25 +08:00
|
|
|
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
2020-03-04 12:26:25 +08:00
|
|
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
|
|
|
|
|
|
using osu.Framework.Allocation;
|
|
|
|
|
using osu.Game.Tournament.Models;
|
|
|
|
|
using osu.Game.Tournament.Screens.Editors;
|
|
|
|
|
|
|
|
|
|
namespace osu.Game.Tournament.Tests.Screens
|
|
|
|
|
{
|
2023-07-24 17:22:32 +08:00
|
|
|
|
public partial class TestSceneSeedingEditorScreen : TournamentScreenTestScene
|
2020-03-04 12:26:25 +08:00
|
|
|
|
{
|
|
|
|
|
[Cached]
|
|
|
|
|
private readonly LadderInfo ladder = new LadderInfo();
|
|
|
|
|
|
2023-07-19 07:24:34 +08:00
|
|
|
|
[BackgroundDependencyLoader]
|
|
|
|
|
private void load()
|
2020-03-04 12:26:25 +08:00
|
|
|
|
{
|
2020-03-11 14:34:52 +08:00
|
|
|
|
var match = CreateSampleMatch();
|
2020-03-04 12:26:25 +08:00
|
|
|
|
|
2020-05-16 18:50:56 +08:00
|
|
|
|
Add(new SeedingEditorScreen(match.Team1.Value, new TeamEditorScreen())
|
2020-03-04 12:26:25 +08:00
|
|
|
|
{
|
|
|
|
|
Width = 0.85f // create room for control panel
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|