Add component overrides for hold note head/tail

This commit is contained in:
smoogipoo 2020-03-31 15:39:00 +09:00
parent c4f76ffdaf
commit 9a37a328b6
2 changed files with 4 additions and 0 deletions

View File

@ -8,6 +8,8 @@ namespace osu.Game.Rulesets.Mania.Objects.Drawables
/// </summary>
public class DrawableHoldNoteHead : DrawableNote
{
protected override ManiaSkinComponents Component => ManiaSkinComponents.HoldNoteHead;
public DrawableHoldNoteHead(DrawableHoldNote holdNote)
: base(holdNote.HitObject.Head)
{

View File

@ -18,6 +18,8 @@ public class DrawableHoldNoteTail : DrawableNote
/// </summary>
private const double release_window_lenience = 1.5;
protected override ManiaSkinComponents Component => ManiaSkinComponents.HoldNoteTail;
private readonly DrawableHoldNote holdNote;
public DrawableHoldNoteTail(DrawableHoldNote holdNote)