mirror of
https://github.com/ppy/osu.git
synced 2024-11-07 00:27:26 +08:00
29 lines
703 B
C#
29 lines
703 B
C#
|
using osu.Framework.Graphics;
|
|||
|
using osu.Framework.Graphics.Containers;
|
|||
|
using OpenTK;
|
|||
|
|
|||
|
namespace osu.Game.Modes.Osu.Objects.Drawables.Pieces
|
|||
|
{
|
|||
|
public class ExplodePiece : Container
|
|||
|
{
|
|||
|
public ExplodePiece()
|
|||
|
{
|
|||
|
Size = new Vector2(144);
|
|||
|
|
|||
|
Anchor = Anchor.Centre;
|
|||
|
Origin = Anchor.Centre;
|
|||
|
|
|||
|
BlendingMode = BlendingMode.Additive;
|
|||
|
Alpha = 0;
|
|||
|
|
|||
|
Children = new Drawable[]
|
|||
|
{
|
|||
|
new Triangles
|
|||
|
{
|
|||
|
BlendingMode = BlendingMode.Additive,
|
|||
|
RelativeSizeAxes = Axes.Both
|
|||
|
}
|
|||
|
};
|
|||
|
}
|
|||
|
}
|
|||
|
}
|