mirror of
https://github.com/ppy/osu.git
synced 2024-11-19 02:22:56 +08:00
32 lines
876 B
C#
32 lines
876 B
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
#nullable disable
|
|
|
|
using osu.Framework.Graphics;
|
|
using osu.Game.Rulesets.Catch.Objects;
|
|
using osuTK;
|
|
|
|
namespace osu.Game.Rulesets.Catch.Skinning.Default
|
|
{
|
|
public class DropletPiece : CatchHitObjectPiece
|
|
{
|
|
protected override HyperBorderPiece HyperBorderPiece { get; }
|
|
|
|
public DropletPiece()
|
|
{
|
|
Size = new Vector2(CatchHitObject.OBJECT_RADIUS / 2);
|
|
|
|
InternalChildren = new Drawable[]
|
|
{
|
|
new Pulp
|
|
{
|
|
RelativeSizeAxes = Axes.Both,
|
|
AccentColour = { BindTarget = AccentColour }
|
|
},
|
|
HyperBorderPiece = new HyperDropletBorderPiece()
|
|
};
|
|
}
|
|
}
|
|
}
|