mirror of
https://github.com/ppy/osu.git
synced 2024-11-19 20:02:54 +08:00
40 lines
1.1 KiB
C#
40 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 System;
|
|
using System.Collections.Generic;
|
|
using osu.Framework.Graphics;
|
|
using osu.Framework.Graphics.Containers;
|
|
using osu.Game.Screens.Multi.Match.Components;
|
|
using osuTK;
|
|
|
|
namespace osu.Game.Tests.Visual.Multiplayer
|
|
{
|
|
public class TestSceneMatchLeaderboardChatDisplay : MultiplayerTestScene
|
|
{
|
|
public override IReadOnlyList<Type> RequiredTypes => new[]
|
|
{
|
|
typeof(LeaderboardChatDisplay)
|
|
};
|
|
|
|
protected override bool UseOnlineAPI => true;
|
|
|
|
public TestSceneMatchLeaderboardChatDisplay()
|
|
{
|
|
Room.RoomID.Value = 7;
|
|
|
|
Add(new Container
|
|
{
|
|
Anchor = Anchor.Centre,
|
|
Origin = Anchor.Centre,
|
|
Size = new Vector2(500),
|
|
Child = new LeaderboardChatDisplay
|
|
{
|
|
Anchor = Anchor.Centre,
|
|
Origin = Anchor.Centre,
|
|
}
|
|
});
|
|
}
|
|
}
|
|
}
|