Rename classes to better emphasise that Smoke is a single trail segment

This commit is contained in:
Dean Herbert
2022-10-05 18:27:51 +09:00
parent 04abb2ce8f
commit 1e5ff2679b
6 changed files with 11 additions and 8 deletions

View File

@ -14,6 +14,9 @@ using osuTK;
namespace osu.Game.Rulesets.Osu.UI
{
/// <summary>
/// Manages smoke trails generated from user input.
/// </summary>
[Cached]
public class SmokeContainer : Container, IRequireHighFrequencyMousePosition, IKeyBindingHandler<OsuAction>
{
@ -31,7 +34,7 @@ namespace osu.Game.Rulesets.Osu.UI
if (e.Action == OsuAction.Smoke)
{
isSmoking = true;
AddInternal(new SkinnableDrawable(new OsuSkinComponent(OsuSkinComponents.Smoke), _ => new DefaultSmoke()));
AddInternal(new SkinnableDrawable(new OsuSkinComponent(OsuSkinComponents.SmokeTrail), _ => new DefaultSmokeSegment()));
return true;
}