1
0
mirror of https://github.com/ppy/osu.git synced 2024-10-01 23:32:50 +08:00
osu-lazer/osu.Game/Screens/Multi/Ranking/MatchResults.cs
Dean Herbert 2353c204ee Renaming
2018-12-26 20:05:57 +09:00

31 lines
926 B
C#

// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.Collections.Generic;
using osu.Game.Online.Multiplayer;
using osu.Game.Scoring;
using osu.Game.Screens.Multi.Ranking.Types;
using osu.Game.Screens.Ranking;
using osu.Game.Screens.Ranking.Types;
namespace osu.Game.Screens.Multi.Ranking
{
public class MatchResults : Results
{
private readonly Room room;
public MatchResults(ScoreInfo score, Room room)
: base(score)
{
this.room = room;
}
protected override IEnumerable<IResultPageInfo> CreateResultPages() => new IResultPageInfo[]
{
new ScoreOverviewPageInfo(Score, Beatmap),
new BeatmapLeaderboardPageInfo(Score, Beatmap),
new RoomLeaderboardPageInfo(Score, Beatmap, room),
};
}
}