mirror of
https://github.com/ppy/osu.git
synced 2026-05-18 16:50:21 +08:00
35 lines
1.1 KiB
C#
35 lines
1.1 KiB
C#
// 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;
|
|
using osu.Framework.Graphics;
|
|
using osu.Framework.Graphics.Containers;
|
|
using osu.Game.Overlays;
|
|
using osu.Game.Screens;
|
|
using osu.Game.Screens.OnlinePlay.Matchmaking.Match;
|
|
using osu.Game.Tests.Visual.Multiplayer;
|
|
|
|
namespace osu.Game.Tests.Visual.Matchmaking
|
|
{
|
|
public abstract partial class MatchmakingTestScene : MultiplayerTestScene
|
|
{
|
|
protected override Container<Drawable> Content { get; }
|
|
|
|
[Cached]
|
|
private readonly OverlayColourProvider colourProvider = new OverlayColourProvider(OverlayColourScheme.Plum);
|
|
|
|
protected MatchmakingTestScene()
|
|
{
|
|
BackgroundScreenStack backgroundStack;
|
|
|
|
base.Content.AddRange(new Drawable[]
|
|
{
|
|
backgroundStack = new BackgroundScreenStack(),
|
|
Content = new Container { RelativeSizeAxes = Axes.Both }
|
|
});
|
|
|
|
backgroundStack.Push(new MatchmakingBackgroundScreen(colourProvider));
|
|
}
|
|
}
|
|
}
|