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