mirror of
https://github.com/ppy/osu
synced 2024-12-11 09:27:08 +00:00
27 lines
717 B
C#
27 lines
717 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;
|
|
using osuTK;
|
|
|
|
namespace osu.Game.Rulesets.Catch.Skinning.Legacy
|
|
{
|
|
public class LegacyDropletPiece : LegacyCatchHitObjectPiece
|
|
{
|
|
public LegacyDropletPiece()
|
|
{
|
|
Scale = new Vector2(0.8f);
|
|
}
|
|
|
|
protected override void LoadComplete()
|
|
{
|
|
base.LoadComplete();
|
|
|
|
Texture texture = Skin.GetTexture("fruit-drop");
|
|
Texture overlayTexture = Skin.GetTexture("fruit-drop-overlay");
|
|
|
|
SetTexture(texture, overlayTexture);
|
|
}
|
|
}
|
|
}
|