osu/osu.Game.Rulesets.Taiko/Objects/DrumRollTick.cs

30 lines
945 B
C#
Raw Normal View History

// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
2018-04-13 09:19:50 +00:00
using osu.Game.Rulesets.Judgements;
using osu.Game.Rulesets.Taiko.Judgements;
2018-04-13 09:19:50 +00:00
namespace osu.Game.Rulesets.Taiko.Objects
{
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.
/// <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;
2018-08-06 02:50:18 +00:00
public override Judgement CreateJudgement() => new TaikoDrumRollTickJudgement();
2018-04-13 09:19:50 +00:00
}
}