mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 22:56:36 +09:00
Mode -> Ruleset.
This commit is contained in:
24
osu.Game.Rulesets.Taiko/Objects/DrumRollTick.cs
Normal file
24
osu.Game.Rulesets.Taiko/Objects/DrumRollTick.cs
Normal file
@ -0,0 +1,24 @@
|
||||
// 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.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;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user