mirror of
https://github.com/osukey/osukey.git
synced 2025-05-23 06:27:24 +09:00
25 lines
696 B
C#
25 lines
696 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.Multi.Components;
|
|
|
|
namespace osu.Game.Screens.Multi.Match.Components
|
|
{
|
|
public class OverlinedLeaderboard : OverlinedDisplay
|
|
{
|
|
private readonly MatchLeaderboard leaderboard;
|
|
|
|
public OverlinedLeaderboard()
|
|
: base("Leaderboard")
|
|
{
|
|
Content.Add(leaderboard = new MatchLeaderboard
|
|
{
|
|
RelativeSizeAxes = Axes.Both
|
|
});
|
|
}
|
|
|
|
public void RefreshScores() => leaderboard.RefreshScores();
|
|
}
|
|
}
|