1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-16 04:22:54 +08:00

Merge branch 'taiko_hitobject_drawable' into taiko_bash_drawable

This commit is contained in:
smoogipooo 2017-03-17 18:57:17 +09:00
commit e2673a94bf

View File

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