// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. namespace osu.Game.Rulesets.Mania.Objects.Drawables { public partial class DrawableNotePerfectBonus : DrawableManiaHitObject { public override bool DisplayResult => false; public DrawableNotePerfectBonus() : this(null!) { } public DrawableNotePerfectBonus(NotePerfectBonus hitObject) : base(hitObject) { } /// /// Apply a judgement result. /// /// Whether this tick was reached. internal void TriggerResult(bool hit) => ApplyResult(r => r.Type = hit ? r.Judgement.MaxResult : r.Judgement.MinResult); } }