2017-02-07 04:59:30 +00: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 09:35:49 +00:00
|
|
|
|
|
2017-03-13 10:15:25 +00:00
|
|
|
|
using osu.Game.Modes.Objects.Types;
|
|
|
|
|
|
2016-11-14 09:54:24 +00:00
|
|
|
|
namespace osu.Game.Modes.Osu.Objects
|
2016-09-02 09:35:49 +00:00
|
|
|
|
{
|
2017-03-13 10:15:25 +00:00
|
|
|
|
public class Spinner : OsuHitObject, IHasEndTime
|
2016-09-02 09:35:49 +00:00
|
|
|
|
{
|
2017-03-13 10:15:25 +00:00
|
|
|
|
public double EndTime { get; set; }
|
|
|
|
|
public double Duration => EndTime - StartTime;
|
2017-02-19 16:41:51 +00:00
|
|
|
|
|
|
|
|
|
public override HitObjectType Type => HitObjectType.Spinner;
|
2017-03-13 10:15:25 +00:00
|
|
|
|
|
|
|
|
|
public override bool NewCombo => true;
|
2016-09-02 09:35:49 +00:00
|
|
|
|
}
|
|
|
|
|
}
|