Extract DefaultFlashlightSize to base flashlight class

This commit is contained in:
Bartłomiej Dach
2022-01-24 20:46:54 +01:00
parent a7c0d507ce
commit 5874475dff
5 changed files with 10 additions and 4 deletions

View File

@ -38,6 +38,12 @@ namespace osu.Game.Rulesets.Mods
[SettingSource("Change size based on combo", "Decrease the flashlight size as combo increases.")]
public abstract BindableBool ComboBasedSize { get; }
/// <summary>
/// The default size of the flashlight in ruleset-appropriate dimensions.
/// <see cref="SizeMultiplier"/> and <see cref="ComboBasedSize"/> will apply their adjustments on top of this size.
/// </summary>
public abstract float DefaultFlashlightSize { get; }
}
public abstract class ModFlashlight<T> : ModFlashlight, IApplicableToDrawableRuleset<T>, IApplicableToScoreProcessor