2022-09-19 03:08:34 +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.
|
|
|
|
|
|
2022-10-04 15:17:00 +08:00
|
|
|
|
using osu.Framework.Allocation;
|
2022-09-19 03:08:34 +08:00
|
|
|
|
using osu.Game.Skinning;
|
|
|
|
|
|
|
|
|
|
namespace osu.Game.Rulesets.Osu.Skinning.Legacy
|
|
|
|
|
{
|
2022-11-24 13:32:20 +08:00
|
|
|
|
public partial class LegacySmokeSegment : SmokeSegment
|
2022-09-19 03:08:34 +08:00
|
|
|
|
{
|
2022-10-04 15:17:00 +08:00
|
|
|
|
[BackgroundDependencyLoader]
|
|
|
|
|
private void load(ISkinSource skin)
|
2022-09-19 03:08:34 +08:00
|
|
|
|
{
|
|
|
|
|
base.LoadComplete();
|
|
|
|
|
|
|
|
|
|
Texture = skin.GetTexture("cursor-smoke");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|