1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 10:02:59 +08:00

Add special interface for LegacyHold.

This commit is contained in:
smoogipooo 2017-03-14 18:49:22 +09:00
parent a1833fd6b0
commit 785b970125
3 changed files with 11 additions and 1 deletions

View File

@ -9,7 +9,7 @@ namespace osu.Game.Modes.Objects.Legacy
/// <summary>
/// Legacy Hold-type, used for parsing "specials" in beatmaps.
/// </summary>
public sealed class LegacyHold : HitObject, IHasPosition, IHasCombo
public sealed class LegacyHold : HitObject, IHasPosition, IHasCombo, IHasSpecial
{
public Vector2 Position { get; set; }

View File

@ -0,0 +1,9 @@
// 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.Modes.Objects.Types
{
public interface IHasSpecial
{
}
}

View File

@ -108,6 +108,7 @@
<Compile Include="Modes\Objects\Types\IHasCurve.cs" />
<Compile Include="Modes\Objects\Types\IHasRepeats.cs" />
<Compile Include="Modes\Objects\Types\IHasPosition.cs" />
<Compile Include="Modes\Objects\Types\IHasSpecial.cs" />
<Compile Include="Modes\Objects\Types\LegacyHitObjectType.cs" />
<Compile Include="Modes\Replay.cs" />
<Compile Include="Modes\Score.cs" />