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.Textures;
|
|
|
|
|
2021-06-07 14:10:47 +08:00
|
|
|
namespace osu.Game.Rulesets.Catch.Skinning.Legacy
|
2020-12-07 13:08:50 +08:00
|
|
|
{
|
|
|
|
public class LegacyBananaPiece : LegacyCatchHitObjectPiece
|
|
|
|
{
|
|
|
|
protected override void LoadComplete()
|
|
|
|
{
|
|
|
|
base.LoadComplete();
|
|
|
|
|
|
|
|
Texture texture = Skin.GetTexture("fruit-bananas");
|
|
|
|
Texture overlayTexture = Skin.GetTexture("fruit-bananas-overlay");
|
|
|
|
|
|
|
|
SetTexture(texture, overlayTexture);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|