// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Game.Rulesets.Mods; namespace osu.Game.Overlays.Mods.Input { /// /// Static factory class for s. /// public static class ModHotkeyHandler { /// /// Creates an appropriate for the given . /// public static IModHotkeyHandler Create(ModType modType) { switch (modType) { case ModType.DifficultyReduction: case ModType.DifficultyIncrease: case ModType.Automation: return SequentialModHotkeyHandler.Create(modType); default: return new NoopModHotkeyHandler(); } } } }