mirror of https://github.com/ppy/osu
27 lines
719 B
C#
27 lines
719 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.
|
|
|
|
using osu.Framework.Graphics;
|
|
|
|
namespace osu.Game.Rulesets.Catch.Skinning.Default
|
|
{
|
|
public class BananaPiece : CatchHitObjectPiece
|
|
{
|
|
protected override BorderPiece BorderPiece { get; }
|
|
|
|
public BananaPiece()
|
|
{
|
|
RelativeSizeAxes = Axes.Both;
|
|
|
|
InternalChildren = new Drawable[]
|
|
{
|
|
new BananaPulpFormation
|
|
{
|
|
AccentColour = { BindTarget = AccentColour },
|
|
},
|
|
BorderPiece = new BorderPiece(),
|
|
};
|
|
}
|
|
}
|
|
}
|