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-10-05 17:27:51 +08:00
|
|
|
|
public 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");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|