1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-25 15:32:56 +08:00
osu-lazer/osu.Game.Rulesets.Catch/Skinning/Default/DropletPiece.cs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
848 B
C#
Raw Normal View History

// 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.
using osu.Framework.Graphics;
2020-12-07 11:35:24 +08:00
using osu.Game.Rulesets.Catch.Objects;
using osuTK;
2020-12-07 11:35:24 +08:00
namespace osu.Game.Rulesets.Catch.Skinning.Default
{
public partial class DropletPiece : CatchHitObjectPiece
{
2022-10-26 15:08:01 +08:00
protected override Drawable HyperBorderPiece { get; }
public DropletPiece()
{
Size = new Vector2(CatchHitObject.OBJECT_RADIUS / 2);
2022-10-26 16:32:26 +08:00
InternalChildren = new[]
{
new Pulp
{
RelativeSizeAxes = Axes.Both,
AccentColour = { BindTarget = AccentColour }
},
HyperBorderPiece = new HyperDropletBorderPiece()
};
}
}
}