mirror of
https://github.com/ppy/osu.git
synced 2024-11-19 06:02:56 +08:00
28 lines
830 B
C#
28 lines
830 B
C#
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
using OpenTK.Input;
|
|
using osu.Framework.Allocation;
|
|
using osu.Game.Graphics;
|
|
using osu.Game.Rulesets.Mods;
|
|
|
|
namespace osu.Game.Overlays.Mods
|
|
{
|
|
public class DifficultyReductionSection : ModSection
|
|
{
|
|
protected override Key[] ToggleKeys => new[] { Key.Q, Key.W, Key.E, Key.R, Key.T, Key.Y, Key.U, Key.I, Key.O, Key.P };
|
|
public override ModType ModType => ModType.DifficultyReduction;
|
|
|
|
[BackgroundDependencyLoader]
|
|
private void load(OsuColour colours)
|
|
{
|
|
SelectedColour = colours.GreenLight;
|
|
}
|
|
|
|
public DifficultyReductionSection()
|
|
{
|
|
Header = @"Difficulty Reduction";
|
|
}
|
|
}
|
|
}
|