2023-06-23 00:37:25 +08:00
|
|
|
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
2019-01-24 16:43:03 +08:00
|
|
|
|
// See the LICENCE file in the repository root for full licence text.
|
2018-08-03 15:11:57 +08:00
|
|
|
|
|
|
|
|
|
using osu.Game.Rulesets.Judgements;
|
2019-09-06 14:24:00 +08:00
|
|
|
|
using osu.Game.Rulesets.Scoring;
|
2018-08-03 15:11:57 +08:00
|
|
|
|
using osu.Game.Rulesets.Taiko.Judgements;
|
|
|
|
|
|
|
|
|
|
namespace osu.Game.Rulesets.Taiko.Objects
|
|
|
|
|
{
|
2020-12-13 20:04:44 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Base type for nested strong hits.
|
2020-12-15 04:46:02 +08:00
|
|
|
|
/// Used by <see cref="TaikoStrongableHitObject"/>s to represent their strong bonus scoring portions.
|
2020-12-13 20:04:44 +08:00
|
|
|
|
/// </summary>
|
2020-12-13 19:59:46 +08:00
|
|
|
|
public abstract class StrongNestedHitObject : TaikoHitObject
|
2018-08-03 15:11:57 +08:00
|
|
|
|
{
|
2023-05-09 18:30:54 +08:00
|
|
|
|
public readonly TaikoHitObject Parent;
|
|
|
|
|
|
|
|
|
|
protected StrongNestedHitObject(TaikoHitObject parent)
|
|
|
|
|
{
|
|
|
|
|
Parent = parent;
|
|
|
|
|
}
|
|
|
|
|
|
2018-08-06 10:50:18 +08:00
|
|
|
|
public override Judgement CreateJudgement() => new TaikoStrongJudgement();
|
2019-09-02 15:10:30 +08:00
|
|
|
|
|
2019-10-09 18:08:31 +08:00
|
|
|
|
protected override HitWindows CreateHitWindows() => HitWindows.Empty;
|
2018-08-03 15:11:57 +08:00
|
|
|
|
}
|
|
|
|
|
}
|