Switch numerical consts to an enum

This commit is contained in:
voidedWarranties
2020-02-09 21:37:40 -08:00
parent 137181017b
commit ea521b466f
4 changed files with 23 additions and 17 deletions

View File

@ -5,12 +5,13 @@ using osu.Framework.Bindables;
using osu.Game.Beatmaps;
using osu.Game.Configuration;
using osu.Game.Rulesets.Mods;
using static osu.Game.Configuration.SettingSourceAttribute;
namespace osu.Game.Rulesets.Catch.Mods
{
public class CatchModDifficultyAdjust : ModDifficultyAdjust
{
[SettingSource("Circle Size", "Override a beatmap's set CS.", SettingSourceAttribute.FIRST)]
[SettingSource("Circle Size", "Override a beatmap's set CS.", OrderMode.FIRST)]
public BindableNumber<float> CircleSize { get; } = new BindableFloat
{
Precision = 0.1f,
@ -20,7 +21,7 @@ namespace osu.Game.Rulesets.Catch.Mods
Value = 5,
};
[SettingSource("Approach Rate", "Override a beatmap's set AR.", SettingSourceAttribute.LAST)]
[SettingSource("Approach Rate", "Override a beatmap's set AR.", OrderMode.LAST)]
public BindableNumber<float> ApproachRate { get; } = new BindableFloat
{
Precision = 0.1f,