mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 18:45:37 +08:00
e87b541c58
This also avoids using the `UprightScalingContainer` (and allows for scale adjust in the process).
27 lines
707 B
C#
27 lines
707 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 Drawable BorderPiece { get; }
|
|
|
|
public BananaPiece()
|
|
{
|
|
RelativeSizeAxes = Axes.Both;
|
|
|
|
InternalChildren = new[]
|
|
{
|
|
new BananaPulpFormation
|
|
{
|
|
AccentColour = { BindTarget = AccentColour },
|
|
},
|
|
BorderPiece = new BorderPiece(),
|
|
};
|
|
}
|
|
}
|
|
}
|