mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 15:12:57 +08:00
Add special interface for LegacyHold.
This commit is contained in:
parent
a1833fd6b0
commit
785b970125
@ -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; }
|
||||
|
||||
|
9
osu.Game/Modes/Objects/Types/IHasSpecial.cs
Normal file
9
osu.Game/Modes/Objects/Types/IHasSpecial.cs
Normal 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
|
||||
{
|
||||
}
|
||||
}
|
@ -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" />
|
||||
|
Loading…
Reference in New Issue
Block a user