2020-12-16 12:00:19 +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.
|
|
|
|
|
2020-12-16 15:05:46 +08:00
|
|
|
using System.Linq;
|
2020-12-16 12:00:19 +08:00
|
|
|
using osu.Framework.Graphics;
|
|
|
|
using osu.Game.Rulesets.Osu.Scoring;
|
|
|
|
using osu.Game.Screens.Play.HUD;
|
|
|
|
|
2020-12-28 19:31:08 +08:00
|
|
|
namespace osu.Game.Tests.Visual.Multiplayer
|
2020-12-16 12:00:19 +08:00
|
|
|
{
|
2022-04-11 18:15:57 +08:00
|
|
|
public class TestSceneMultiplayerGameplayLeaderboard : MultiplayerGameplayLeaderboardTestScene
|
2020-12-16 12:00:19 +08:00
|
|
|
{
|
2022-04-11 18:15:57 +08:00
|
|
|
protected override MultiplayerGameplayLeaderboard CreateLeaderboard(OsuScoreProcessor scoreProcessor)
|
2020-12-16 14:26:03 +08:00
|
|
|
{
|
2022-04-11 18:15:57 +08:00
|
|
|
return new MultiplayerGameplayLeaderboard(Ruleset.Value, scoreProcessor, MultiplayerUsers.ToArray())
|
2020-12-16 12:00:19 +08:00
|
|
|
{
|
2022-04-11 18:15:57 +08:00
|
|
|
Anchor = Anchor.Centre,
|
|
|
|
Origin = Anchor.Centre,
|
|
|
|
};
|
2020-12-16 12:00:19 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|