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