osu/osu.Game/Beatmaps/Legacy/LegacyBeatmap.cs

22 lines
732 B
C#
Raw Normal View History

2017-03-17 05:51:09 +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
namespace osu.Game.Beatmaps.Legacy
2017-03-17 05:24:46 +00:00
{
/// <summary>
/// A type of Beatmap loaded from a legacy .osu beatmap file (version &lt;=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 05:56:50 +00:00
HitObjects = original?.HitObjects ?? null;
2017-03-17 05:24:46 +00:00
}
}
}