1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-15 06:22:34 +08:00
Files
osu-lazer/osu.Game.Tests/Visual/Matchmaking/TestSceneBeatmapPanel.cs
T
2025-09-07 16:17:27 +09:00

29 lines
831 B
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.Graphics;
using osu.Game.Screens.OnlinePlay.Matchmaking.Screens.Pick;
using osu.Game.Tests.Visual.Multiplayer;
using osuTK;
namespace osu.Game.Tests.Visual.Matchmaking
{
public partial class TestSceneBeatmapPanel : MultiplayerTestScene
{
public override void SetUpSteps()
{
base.SetUpSteps();
AddStep("add beatmap panel", () =>
{
Child = new BeatmapPanel(CreateAPIBeatmap())
{
Size = new Vector2(300, 70),
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
};
});
}
}
}