2018-01-05 11:21:19 +00:00
|
|
|
|
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
|
2017-03-17 04:56:14 +00:00
|
|
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
|
|
2017-04-18 07:05:58 +00:00
|
|
|
|
namespace osu.Game.Rulesets.Taiko.Objects
|
2017-03-17 04:56:14 +00:00
|
|
|
|
{
|
|
|
|
|
public class DrumRollTick : TaikoHitObject
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Whether this is the first (initial) tick of the slider.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool FirstTick;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2017-04-03 06:32:38 +00:00
|
|
|
|
/// The length (in milliseconds) between this tick and the next.
|
2017-03-17 04:56:14 +00:00
|
|
|
|
/// <para>Half of this value is the hit window of the tick.</para>
|
|
|
|
|
/// </summary>
|
2017-04-03 06:32:38 +00:00
|
|
|
|
public double TickSpacing;
|
2017-03-28 00:50:43 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The time allowed to hit this tick.
|
|
|
|
|
/// </summary>
|
2017-04-03 06:32:38 +00:00
|
|
|
|
public double HitWindow => TickSpacing / 2;
|
2017-03-17 04:56:14 +00:00
|
|
|
|
}
|
2018-01-05 11:21:19 +00:00
|
|
|
|
}
|