1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-15 08:47:51 +08:00
osu-lazer/osu.Game/Modes/Objects/Legacy/Catch/Spinner.cs

18 lines
515 B
C#
Raw Normal View History

// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
2017-03-14 12:02:42 +08:00
// 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.Catch
{
/// <summary>
2017-03-14 17:46:34 +08:00
/// Legacy Spinner-type, used for parsing Beatmaps.
/// </summary>
internal class Spinner : HitObject, IHasEndTime
{
public double EndTime { get; set; }
public double Duration => EndTime - StartTime;
}
}