1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-20 00:13:04 +08:00
osu-lazer/osu.Game.Tournament.Tests/Screens/TestSceneSeedingEditorScreen.cs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
854 B
C#
Raw Normal View History

2020-03-04 12:26:25 +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.Framework.Allocation;
2023-07-25 19:50:55 +08:00
using osu.Framework.Extensions.ObjectExtensions;
2020-03-04 12:26:25 +08:00
using osu.Game.Tournament.Models;
using osu.Game.Tournament.Screens.Editors;
namespace osu.Game.Tournament.Tests.Screens
{
public partial class TestSceneSeedingEditorScreen : TournamentScreenTestScene
2020-03-04 12:26:25 +08:00
{
[Cached]
private readonly LadderInfo ladder = new LadderInfo();
[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
2023-07-25 19:50:55 +08:00
Add(new SeedingEditorScreen(match.Team1.Value.AsNonNull(), new TeamEditorScreen())
2020-03-04 12:26:25 +08:00
{
Width = 0.85f // create room for control panel
});
}
}
}