mirror of
https://github.com/ppy/osu
synced 2024-12-12 18:07:52 +00:00
7f1ad1040d
- A banana cannot be hyper
21 lines
606 B
C#
21 lines
606 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.Textures;
|
|
|
|
namespace osu.Game.Rulesets.Catch.Skinning
|
|
{
|
|
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);
|
|
}
|
|
}
|
|
}
|