2017-03-22 18:15:32 +08: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-22 17:54:07 +08:00
|
|
|
|
using osu.Framework.Audio.Track;
|
|
|
|
|
using osu.Framework.Graphics.Textures;
|
|
|
|
|
using osu.Game.Beatmaps;
|
|
|
|
|
|
2017-08-04 14:37:31 +08:00
|
|
|
|
namespace osu.Desktop.Tests.Beatmaps
|
2017-03-22 18:15:32 +08:00
|
|
|
|
{
|
|
|
|
|
public class TestWorkingBeatmap : WorkingBeatmap
|
|
|
|
|
{
|
|
|
|
|
public TestWorkingBeatmap(Beatmap beatmap)
|
2017-07-20 10:01:50 +08:00
|
|
|
|
: base(beatmap.BeatmapInfo)
|
2017-03-22 18:15:32 +08:00
|
|
|
|
{
|
|
|
|
|
this.beatmap = beatmap;
|
2017-03-22 17:54:07 +08:00
|
|
|
|
}
|
2017-03-22 18:15:32 +08:00
|
|
|
|
|
2017-03-23 12:41:50 +08:00
|
|
|
|
private readonly Beatmap beatmap;
|
2017-04-06 16:21:18 +08:00
|
|
|
|
|
2017-03-22 18:15:32 +08:00
|
|
|
|
protected override Beatmap GetBeatmap() => beatmap;
|
|
|
|
|
protected override Texture GetBackground() => null;
|
|
|
|
|
protected override Track GetTrack() => null;
|
|
|
|
|
}
|
|
|
|
|
}
|