1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 06:52:56 +08:00
osu-lazer/osu.Game.Rulesets.Taiko/Objects/DrumRollTick.cs

24 lines
799 B
C#
Raw Normal View History

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