1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 07:32:55 +08:00
osu-lazer/osu.Game.Tests/Visual/Multiplayer/TestSceneMultiplayerMatchFooter.cs

37 lines
1.1 KiB
C#
Raw Normal View History

2023-06-23 00:37:25 +08:00
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
2021-04-07 16:35:18 +08:00
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Cursor;
2021-04-07 16:35:18 +08:00
using osu.Game.Screens.OnlinePlay.Multiplayer.Match;
namespace osu.Game.Tests.Visual.Multiplayer
{
2022-11-24 13:32:20 +08:00
public partial class TestSceneMultiplayerMatchFooter : MultiplayerTestScene
2021-04-07 16:35:18 +08:00
{
public override void SetUpSteps()
2021-04-07 16:35:18 +08:00
{
base.SetUpSteps();
AddStep("create footer", () =>
2021-04-07 16:35:18 +08:00
{
Child = new PopoverContainer
{
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
RelativeSizeAxes = Axes.Both,
Child = new Container
{
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
RelativeSizeAxes = Axes.X,
Height = 50,
Child = new MultiplayerMatchFooter()
}
};
});
}
2021-04-07 16:35:18 +08:00
}
}