mirror of
https://github.com/ppy/osu.git
synced 2024-11-18 17:32:55 +08:00
33 lines
851 B
C#
33 lines
851 B
C#
using osu.Framework.Graphics;
|
|
using osu.Framework.Graphics.Containers;
|
|
using osu.Framework.Graphics.Shapes;
|
|
using osuTK.Graphics;
|
|
|
|
namespace osu.Game.Rulesets.Taiko.Edit.Blueprints
|
|
{
|
|
public class HitPiece : CompositeDrawable
|
|
{
|
|
public HitPiece()
|
|
{
|
|
Origin = Anchor.Centre;
|
|
|
|
InternalChild = new CircularContainer
|
|
{
|
|
Masking = true,
|
|
BorderThickness = 10,
|
|
BorderColour = Color4.Yellow,
|
|
RelativeSizeAxes = Axes.Both,
|
|
Children = new Drawable[]
|
|
{
|
|
new Box
|
|
{
|
|
AlwaysPresent = true,
|
|
Alpha = 0,
|
|
RelativeSizeAxes = Axes.Both
|
|
}
|
|
}
|
|
};
|
|
}
|
|
}
|
|
}
|