1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-12 01:07:25 +08:00

Merge branch 'taiko_hitobject_drawable' into taiko_hit_drawables

This commit is contained in:
smoogipooo 2017-03-17 18:56:24 +09:00
commit 9f4f297bb7

View File

@ -8,14 +8,15 @@ using osu.Game.Modes.Taiko.Judgements;
namespace osu.Game.Modes.Taiko.Objects.Drawable
{
public class DrawableTaikoHitObject : DrawableHitObject<TaikoHitObject, TaikoJudgementInfo>
public class DrawableTaikoHitObject<TTaikoObject> : DrawableHitObject<TTaikoObject, TaikoJudgementInfo>
where TTaikoObject : TaikoHitObject
{
/// <summary>
/// The colour used for various elements of this DrawableHitObject.
/// </summary>
public virtual Color4 AccentColour { get; }
public DrawableTaikoHitObject(TaikoHitObject hitObject)
public DrawableTaikoHitObject(TTaikoObject hitObject)
: base(hitObject)
{
Anchor = Anchor.CentreLeft;