Rename catch combo counter for clarity

This commit is contained in:
Dean Herbert
2020-10-14 17:02:12 +09:00
parent f5623ee21e
commit 899bac6ca5
4 changed files with 3 additions and 3 deletions

View File

@ -59,7 +59,7 @@ namespace osu.Game.Rulesets.Catch.Skinning
// For simplicity, let's use legacy combo font texture existence as a way to identify legacy skins from default. // For simplicity, let's use legacy combo font texture existence as a way to identify legacy skins from default.
if (this.HasFont(comboFont)) if (this.HasFont(comboFont))
return new LegacyComboCounter(Source); return new LegacyCatchComboCounter(Source);
break; break;
} }

View File

@ -14,13 +14,13 @@ namespace osu.Game.Rulesets.Catch.Skinning
/// <summary> /// <summary>
/// A combo counter implementation that visually behaves almost similar to stable's osu!catch combo counter. /// A combo counter implementation that visually behaves almost similar to stable's osu!catch combo counter.
/// </summary> /// </summary>
public class LegacyComboCounter : CompositeDrawable, ICatchComboCounter public class LegacyCatchComboCounter : CompositeDrawable, ICatchComboCounter
{ {
private readonly LegacyRollingCounter counter; private readonly LegacyRollingCounter counter;
private readonly LegacyRollingCounter explosion; private readonly LegacyRollingCounter explosion;
public LegacyComboCounter(ISkin skin) public LegacyCatchComboCounter(ISkin skin)
{ {
var fontName = skin.GetConfig<LegacySetting, string>(LegacySetting.ComboPrefix)?.Value ?? "score"; var fontName = skin.GetConfig<LegacySetting, string>(LegacySetting.ComboPrefix)?.Value ?? "score";
var fontOverlap = skin.GetConfig<LegacySetting, float>(LegacySetting.ComboOverlap)?.Value ?? -2f; var fontOverlap = skin.GetConfig<LegacySetting, float>(LegacySetting.ComboOverlap)?.Value ?? -2f;