mirror of
https://github.com/ppy/osu.git
synced 2024-11-12 03:57:25 +08:00
18 lines
515 B
C#
18 lines
515 B
C#
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
using osu.Game.Modes.Objects.Types;
|
|
|
|
namespace osu.Game.Modes.Objects.Legacy
|
|
{
|
|
/// <summary>
|
|
/// Legacy Spinner-type, used for parsing Beatmaps.
|
|
/// </summary>
|
|
internal class LegacySpinner : HitObject, IHasEndTime
|
|
{
|
|
public double EndTime { get; set; }
|
|
|
|
public double Duration => EndTime - StartTime;
|
|
}
|
|
}
|