mirror of
https://github.com/osukey/osukey.git
synced 2025-05-29 01:17:35 +09:00
Remove IIsLegacy, expose LegacyBeatmap without a public constructor.
This commit is contained in:
parent
74a1837a05
commit
26b0bb02d8
@ -1,12 +0,0 @@
|
|||||||
// 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
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// A Beatmap that was loaded from a legacy .osu beatmap file (version <=15).
|
|
||||||
/// </summary>
|
|
||||||
public interface IIsLegacy
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
|
@ -6,13 +6,13 @@ namespace osu.Game.Beatmaps.Legacy
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// A type of Beatmap loaded from a legacy .osu beatmap file (version <=15).
|
/// A type of Beatmap loaded from a legacy .osu beatmap file (version <=15).
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal class LegacyBeatmap : Beatmap, IIsLegacy
|
public class LegacyBeatmap : Beatmap
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Constructs a new beatmap.
|
/// Constructs a new beatmap.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="original">The original beatmap to use the parameters of.</param>
|
/// <param name="original">The original beatmap to use the parameters of.</param>
|
||||||
public LegacyBeatmap(Beatmap original = null)
|
internal LegacyBeatmap(Beatmap original = null)
|
||||||
: base(original)
|
: base(original)
|
||||||
{
|
{
|
||||||
HitObjects = original?.HitObjects ?? null;
|
HitObjects = original?.HitObjects ?? null;
|
||||||
|
@ -77,7 +77,6 @@
|
|||||||
<Compile Include="Beatmaps\IBeatmapProcessor.cs" />
|
<Compile Include="Beatmaps\IBeatmapProcessor.cs" />
|
||||||
<Compile Include="Beatmaps\Legacy\LegacyBeatmap.cs" />
|
<Compile Include="Beatmaps\Legacy\LegacyBeatmap.cs" />
|
||||||
<Compile Include="Beatmaps\Timing\TimingInfo.cs" />
|
<Compile Include="Beatmaps\Timing\TimingInfo.cs" />
|
||||||
<Compile Include="Beatmaps\Legacy\IIsLegacy.cs" />
|
|
||||||
<Compile Include="Database\ScoreDatabase.cs" />
|
<Compile Include="Database\ScoreDatabase.cs" />
|
||||||
<Compile Include="Graphics\Backgrounds\Triangles.cs" />
|
<Compile Include="Graphics\Backgrounds\Triangles.cs" />
|
||||||
<Compile Include="Graphics\Cursor\CursorTrail.cs" />
|
<Compile Include="Graphics\Cursor\CursorTrail.cs" />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user