osu/osu.Game.Rulesets.Mania/Objects/Note.cs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
774 B
C#
Raw Normal View History

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