2017-02-07 12:59:30 +08:00
|
|
|
|
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
|
|
|
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
2016-09-02 17:35:49 +08:00
|
|
|
|
|
2017-03-13 18:15:25 +08:00
|
|
|
|
using osu.Game.Modes.Objects.Types;
|
|
|
|
|
|
2016-11-14 17:54:24 +08:00
|
|
|
|
namespace osu.Game.Modes.Osu.Objects
|
2016-09-02 17:35:49 +08:00
|
|
|
|
{
|
2017-03-13 18:15:25 +08:00
|
|
|
|
public class Spinner : OsuHitObject, IHasEndTime
|
2016-09-02 17:35:49 +08:00
|
|
|
|
{
|
2017-03-13 18:15:25 +08:00
|
|
|
|
public double EndTime { get; set; }
|
|
|
|
|
public double Duration => EndTime - StartTime;
|
2017-02-20 00:41:51 +08:00
|
|
|
|
|
|
|
|
|
public override HitObjectType Type => HitObjectType.Spinner;
|
2017-03-13 18:15:25 +08:00
|
|
|
|
|
|
|
|
|
public override bool NewCombo => true;
|
2016-09-02 17:35:49 +08:00
|
|
|
|
}
|
|
|
|
|
}
|