mirror of
https://github.com/ppy/osu.git
synced 2024-12-22 18:12:55 +08:00
20 lines
586 B
C#
20 lines
586 B
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
using osu.Game.Rulesets.Objects.Types;
|
|
using osu.Game.Rulesets.Scoring;
|
|
|
|
namespace osu.Game.Rulesets.Objects.Legacy.Mania
|
|
{
|
|
internal sealed class ConvertHold : HitObject, IHasXPosition, IHasEndTime
|
|
{
|
|
public float X { get; set; }
|
|
|
|
public double EndTime { get; set; }
|
|
|
|
public double Duration => EndTime - StartTime;
|
|
|
|
protected override HitWindows CreateHitWindows() => HitWindows.Empty;
|
|
}
|
|
}
|