2019-01-24 16:43:03 +08:00
|
|
|
|
// 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-08-02 15:44:01 +08:00
|
|
|
|
|
2018-08-02 19:36:54 +08:00
|
|
|
|
using osu.Game.Rulesets.Judgements;
|
2018-08-02 15:44:01 +08:00
|
|
|
|
using osu.Game.Rulesets.Mania.Judgements;
|
|
|
|
|
|
|
|
|
|
namespace osu.Game.Rulesets.Mania.Objects
|
|
|
|
|
{
|
|
|
|
|
public class TailNote : Note
|
|
|
|
|
{
|
2023-01-19 19:53:35 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Lenience of release hit windows. This is to make cases where the hold note release
|
|
|
|
|
/// is timed alongside presses of other hit objects less awkward.
|
|
|
|
|
/// Todo: This shouldn't exist for non-LegacyBeatmapDecoder beatmaps
|
|
|
|
|
/// </summary>
|
|
|
|
|
public const double RELEASE_WINDOW_LENIENCE = 1.5;
|
|
|
|
|
|
2018-08-06 10:50:18 +08:00
|
|
|
|
public override Judgement CreateJudgement() => new ManiaJudgement();
|
2023-01-19 19:53:35 +08:00
|
|
|
|
|
|
|
|
|
public override double MaximumJudgementOffset => base.MaximumJudgementOffset * RELEASE_WINDOW_LENIENCE;
|
2018-08-02 15:44:01 +08:00
|
|
|
|
}
|
|
|
|
|
}
|