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-05 17:26:17 +08:00
|
|
|
|
using osu.Framework.Allocation;
|
|
|
|
|
using osu.Framework.Graphics.Textures;
|
|
|
|
|
|
2022-09-19 03:08:34 +08:00
|
|
|
|
namespace osu.Game.Rulesets.Osu.Skinning.Default
|
|
|
|
|
{
|
2022-11-24 13:32:20 +08:00
|
|
|
|
public partial class DefaultSmokeSegment : SmokeSegment
|
2022-09-19 03:08:34 +08:00
|
|
|
|
{
|
2022-10-05 17:26:17 +08:00
|
|
|
|
[BackgroundDependencyLoader]
|
|
|
|
|
private void load(TextureStore textures)
|
2022-09-19 03:08:34 +08:00
|
|
|
|
{
|
2022-10-05 17:26:17 +08:00
|
|
|
|
// ISkinSource doesn't currently fallback to global textures.
|
|
|
|
|
// We might want to change this in the future if the intention is to allow the user to skin this as per legacy skins.
|
|
|
|
|
Texture = textures.Get("Gameplay/osu/cursor-smoke");
|
2022-09-19 03:10:01 +08:00
|
|
|
|
}
|
2022-09-19 03:08:34 +08:00
|
|
|
|
}
|
|
|
|
|
}
|