2018-01-05 11:21:19 +00:00
|
|
|
|
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
|
2017-03-31 06:59:53 +00:00
|
|
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
|
|
2017-04-18 07:05:58 +00:00
|
|
|
|
using osu.Game.Rulesets.Replays;
|
2017-03-31 06:59:53 +00:00
|
|
|
|
|
|
|
|
|
namespace osu.Game.Screens.Play
|
|
|
|
|
{
|
|
|
|
|
public class ReplayPlayer : Player
|
|
|
|
|
{
|
|
|
|
|
public Replay Replay;
|
|
|
|
|
|
|
|
|
|
public ReplayPlayer(Replay replay)
|
|
|
|
|
{
|
|
|
|
|
Replay = replay;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected override void LoadComplete()
|
|
|
|
|
{
|
|
|
|
|
base.LoadComplete();
|
2017-08-09 04:28:29 +00:00
|
|
|
|
RulesetContainer.SetReplay(Replay);
|
2017-03-31 06:59:53 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|