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
|
|
|
|
{
|
2020-12-08 16:15:40 +08:00
|
|
|
protected override BorderPiece BorderPiece { get; }
|
|
|
|
|
2020-12-07 13:08:50 +08:00
|
|
|
public BananaPiece()
|
|
|
|
{
|
|
|
|
RelativeSizeAxes = Axes.Both;
|
|
|
|
|
|
|
|
InternalChildren = new Drawable[]
|
|
|
|
{
|
|
|
|
new BananaPulpFormation
|
|
|
|
{
|
|
|
|
AccentColour = { BindTarget = AccentColour },
|
|
|
|
},
|
|
|
|
BorderPiece = new BorderPiece(),
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|