diff --git a/osu.Game.Modes.Taiko/Objects/Drawable/DrawableTaikoHitObject.cs b/osu.Game.Modes.Taiko/Objects/Drawable/DrawableTaikoHitObject.cs index 321a1beea7..5e8aeb4844 100644 --- a/osu.Game.Modes.Taiko/Objects/Drawable/DrawableTaikoHitObject.cs +++ b/osu.Game.Modes.Taiko/Objects/Drawable/DrawableTaikoHitObject.cs @@ -8,14 +8,15 @@ using osu.Game.Modes.Taiko.Judgements; namespace osu.Game.Modes.Taiko.Objects.Drawable { - public class DrawableTaikoHitObject : DrawableHitObject + public class DrawableTaikoHitObject : DrawableHitObject + where TTaikoObject : TaikoHitObject { /// /// The colour used for various elements of this DrawableHitObject. /// public virtual Color4 AccentColour { get; } - public DrawableTaikoHitObject(TaikoHitObject hitObject) + public DrawableTaikoHitObject(TTaikoObject hitObject) : base(hitObject) { Anchor = Anchor.CentreLeft;