2019-12-23 14:43:58 +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.
|
|
|
|
|
|
|
|
namespace osu.Game.Rulesets.Mania.Objects.Drawables
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// The head of a <see cref="DrawableHoldNote"/>.
|
|
|
|
/// </summary>
|
|
|
|
public class DrawableHoldNoteHead : DrawableNote
|
|
|
|
{
|
|
|
|
public DrawableHoldNoteHead(DrawableHoldNote holdNote)
|
|
|
|
: base(holdNote.HitObject.Head)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2019-12-23 16:48:48 +08:00
|
|
|
public void UpdateResult() => base.UpdateResult(true);
|
2019-12-23 14:43:58 +08:00
|
|
|
|
2019-12-23 16:48:48 +08:00
|
|
|
public override bool OnPressed(ManiaAction action) => false; // Handled by the hold note
|
2019-12-23 14:43:58 +08:00
|
|
|
|
2019-12-23 16:48:48 +08:00
|
|
|
public override bool OnReleased(ManiaAction action) => false; // Handled by the hold note
|
2019-12-23 14:43:58 +08:00
|
|
|
}
|
|
|
|
}
|