1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-21 10:32:55 +08:00
osu-lazer/osu.Game.Rulesets.Osu/Configuration/OsuRulesetConfigManager.cs

32 lines
951 B
C#
Raw Normal View History

2019-01-25 18:17:48 +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.
2019-01-23 18:46:53 +08:00
using osu.Game.Configuration;
using osu.Game.Rulesets.Configuration;
namespace osu.Game.Rulesets.Osu.Configuration
{
public class OsuRulesetConfigManager : RulesetConfigManager<OsuRulesetSetting>
2019-01-23 18:46:53 +08:00
{
public OsuRulesetConfigManager(SettingsStore settings, RulesetInfo ruleset, int? variant = null)
2019-01-23 18:46:53 +08:00
: base(settings, ruleset, variant)
{
}
protected override void InitialiseDefaults()
{
base.InitialiseDefaults();
Set(OsuRulesetSetting.SnakingInSliders, true);
Set(OsuRulesetSetting.SnakingOutSliders, true);
Set(OsuRulesetSetting.ShowCursorTrail, true);
2019-01-23 18:46:53 +08:00
}
}
public enum OsuRulesetSetting
2019-01-23 18:46:53 +08:00
{
SnakingInSliders,
SnakingOutSliders,
ShowCursorTrail
2019-01-23 18:46:53 +08:00
}
}