mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 18:45:37 +08:00
28 lines
896 B
C#
28 lines
896 B
C#
// 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.
|
|
|
|
using osu.Game.Rulesets.Judgements;
|
|
using osu.Game.Rulesets.Scoring;
|
|
using osu.Game.Rulesets.Taiko.Judgements;
|
|
|
|
namespace osu.Game.Rulesets.Taiko.Objects
|
|
{
|
|
/// <summary>
|
|
/// Base type for nested strong hits.
|
|
/// Used by <see cref="TaikoStrongableHitObject"/>s to represent their strong bonus scoring portions.
|
|
/// </summary>
|
|
public abstract class StrongNestedHitObject : TaikoHitObject
|
|
{
|
|
public readonly TaikoHitObject Parent;
|
|
|
|
protected StrongNestedHitObject(TaikoHitObject parent)
|
|
{
|
|
Parent = parent;
|
|
}
|
|
|
|
public override Judgement CreateJudgement() => new TaikoStrongJudgement();
|
|
|
|
protected override HitWindows CreateHitWindows() => HitWindows.Empty;
|
|
}
|
|
}
|