2023-10-09 08:47:00 +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.
|
|
|
|
|
2023-10-09 10:49:54 +08:00
|
|
|
using osu.Game.Rulesets.Judgements;
|
|
|
|
using osu.Game.Rulesets.Mania.Judgements;
|
2023-10-12 01:40:55 +08:00
|
|
|
using osu.Game.Rulesets.Scoring;
|
2023-10-09 10:49:54 +08:00
|
|
|
|
2023-10-09 08:47:00 +08:00
|
|
|
namespace osu.Game.Rulesets.Mania.Objects
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// The body of a <see cref="HoldNote"/>.
|
|
|
|
/// Mostly a dummy hitobject that provides the judgement for the "holding" state.<br />
|
|
|
|
/// On hit - the hold note was held correctly for the full duration.<br />
|
|
|
|
/// On miss - the hold note was released at some point during its judgement period.
|
|
|
|
/// </summary>
|
|
|
|
public class HoldNoteBody : ManiaHitObject
|
|
|
|
{
|
2023-10-09 10:49:54 +08:00
|
|
|
public override Judgement CreateJudgement() => new HoldNoteBodyJudgement();
|
2023-10-12 01:40:55 +08:00
|
|
|
protected override HitWindows CreateHitWindows() => HitWindows.Empty;
|
2023-10-09 08:47:00 +08:00
|
|
|
}
|
|
|
|
}
|