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-04-13 17:19:50 +08:00
|
|
|
|
|
2023-10-13 16:01:48 +08:00
|
|
|
|
using System.Threading;
|
2018-08-02 15:44:01 +08:00
|
|
|
|
using osu.Game.Rulesets.Judgements;
|
|
|
|
|
using osu.Game.Rulesets.Mania.Judgements;
|
|
|
|
|
|
2017-04-18 15:05:58 +08:00
|
|
|
|
namespace osu.Game.Rulesets.Mania.Objects
|
2016-09-02 17:44:02 +08:00
|
|
|
|
{
|
2017-05-09 19:55:20 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Represents a hit object which has a single hit press.
|
|
|
|
|
/// </summary>
|
2017-05-03 11:44:19 +08:00
|
|
|
|
public class Note : ManiaHitObject
|
2016-09-02 17:44:02 +08:00
|
|
|
|
{
|
2018-08-06 10:50:18 +08:00
|
|
|
|
public override Judgement CreateJudgement() => new ManiaJudgement();
|
2023-10-13 16:01:48 +08:00
|
|
|
|
|
|
|
|
|
protected override void CreateNestedHitObjects(CancellationToken cancellationToken)
|
|
|
|
|
{
|
|
|
|
|
base.CreateNestedHitObjects(cancellationToken);
|
|
|
|
|
|
2023-10-16 14:14:26 +08:00
|
|
|
|
AddNested(new NotePerfectBonus { StartTime = StartTime });
|
2023-10-13 16:01:48 +08:00
|
|
|
|
}
|
2016-09-02 17:44:02 +08:00
|
|
|
|
}
|
|
|
|
|
}
|