mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
Move CreateCirclePiece to DrawableTaikoHitObject and simplify strong creation.
This commit is contained in:
@ -15,6 +15,7 @@ namespace osu.Game.Modes.Taiko.Objects.Drawables
|
||||
public DrawableRimHit(Hit hit)
|
||||
: base(hit)
|
||||
{
|
||||
Circle.Add(new RimHitSymbolPiece());
|
||||
}
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
@ -22,10 +23,5 @@ namespace osu.Game.Modes.Taiko.Objects.Drawables
|
||||
{
|
||||
Circle.AccentColour = colours.BlueDarker;
|
||||
}
|
||||
|
||||
protected override CirclePiece CreateCirclePiece() => new CirclePiece
|
||||
{
|
||||
Children = new[] { new RimHitSymbolPiece() }
|
||||
};
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user