2017-03-17 12:56:14 +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
|
|
|
|
|
|
|
|
|
|
namespace osu.Game.Modes.Taiko.Objects
|
|
|
|
|
{
|
|
|
|
|
public class DrumRollTick : TaikoHitObject
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Whether this is the first (initial) tick of the slider.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool FirstTick;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The distance between this tick and the next in milliseconds.
|
|
|
|
|
/// <para>Half of this value is the hit window of the tick.</para>
|
|
|
|
|
/// </summary>
|
|
|
|
|
public double TickTimeDistance;
|
2017-03-28 08:50:43 +08:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The time allowed to hit this tick.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public double HitWindow => TickTimeDistance / 2;
|
2017-03-17 12:56:14 +08:00
|
|
|
|
}
|
|
|
|
|
}
|