2017-03-31 06:59:53 +00:00
|
|
|
|
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
|
|
|
|
|
// 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
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|