2020-12-07 13:08:50 +08:00
|
|
|
// 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
|
|
|
namespace osu.Game.Rulesets.Catch.Skinning.Default
|
2020-12-07 13:08:50 +08:00
|
|
|
{
|
|
|
|
public class BananaPiece : CatchHitObjectPiece
|
|
|
|
{
|
2022-10-28 17:29:55 +08:00
|
|
|
protected override Drawable BorderPiece { get; }
|
2020-12-08 16:15:40 +08:00
|
|
|
|
2020-12-07 13:08:50 +08:00
|
|
|
public BananaPiece()
|
|
|
|
{
|
|
|
|
RelativeSizeAxes = Axes.Both;
|
|
|
|
|
2022-10-28 17:29:55 +08:00
|
|
|
InternalChildren = new[]
|
2020-12-07 13:08:50 +08:00
|
|
|
{
|
|
|
|
new BananaPulpFormation
|
|
|
|
{
|
|
|
|
AccentColour = { BindTarget = AccentColour },
|
|
|
|
},
|
|
|
|
BorderPiece = new BorderPiece(),
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|