mirror of
https://github.com/ppy/osu.git
synced 2024-12-17 01:32:55 +08:00
19 lines
533 B
C#
19 lines
533 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.Osu.Objects
|
|
{
|
|
public class Spinner : OsuHitObject, IHasEndTime
|
|
{
|
|
public double EndTime { get; set; }
|
|
public double Duration => EndTime - StartTime;
|
|
|
|
public override HitObjectType Type => HitObjectType.Spinner;
|
|
|
|
public override bool NewCombo => true;
|
|
|
|
}
|
|
}
|