osu/osu.Desktop.VisualTests/Tests/TestCaseReplay.cs

23 lines
680 B
C#
Raw Normal View History

2017-02-28 11:14:48 +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-03-06 01:05:42 +00:00
using osu.Game.Beatmaps;
using osu.Game.Modes.Mods;
using osu.Game.Modes.Osu.Mods;
2017-03-01 13:56:20 +00:00
using osu.Game.Screens.Play;
2017-02-28 11:14:48 +00:00
namespace osu.Desktop.VisualTests.Tests
{
2017-03-09 04:55:29 +00:00
internal class TestCaseReplay : TestCasePlayer
2017-02-28 11:14:48 +00:00
{
2017-03-01 13:56:20 +00:00
public override string Description => @"Testing replay playback.";
protected override Player CreatePlayer(WorkingBeatmap beatmap)
{
beatmap.Mods.Value = new Mod[] { new OsuModAutoplay() };
return base.CreatePlayer(beatmap);
}
}
2017-02-28 11:14:48 +00:00
}