2017-03-17 13:51:09 +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
|
|
|
|
|
|
|
|
|
|
namespace osu.Game.Beatmaps.Legacy
|
2017-03-17 13:24:46 +08:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// A type of Beatmap loaded from a legacy .osu beatmap file (version <=15).
|
|
|
|
|
/// </summary>
|
|
|
|
|
internal class LegacyBeatmap : Beatmap, IIsLegacy
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Constructs a new beatmap.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="original">The original beatmap to use the parameters of.</param>
|
|
|
|
|
public LegacyBeatmap(Beatmap original = null)
|
|
|
|
|
: base(original)
|
|
|
|
|
{
|
2017-03-17 13:56:50 +08:00
|
|
|
|
HitObjects = original?.HitObjects ?? null;
|
2017-03-17 13:24:46 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|