2017-02-17 04:05:03 +08:00
|
|
|
|
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
|
|
|
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
|
|
2017-02-17 07:00:18 +08:00
|
|
|
|
using OpenTK.Input;
|
2017-02-17 04:05:03 +08:00
|
|
|
|
using osu.Framework.Allocation;
|
|
|
|
|
using osu.Game.Graphics;
|
2017-04-18 15:05:58 +08:00
|
|
|
|
using osu.Game.Rulesets.Mods;
|
2017-02-17 04:05:03 +08:00
|
|
|
|
|
2017-03-02 13:24:32 +08:00
|
|
|
|
namespace osu.Game.Overlays.Mods
|
2017-02-23 10:16:23 +08:00
|
|
|
|
{
|
|
|
|
|
public class DifficultyReductionSection : ModSection
|
2017-02-17 04:05:03 +08:00
|
|
|
|
{
|
2017-03-09 16:44:45 +08:00
|
|
|
|
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 };
|
2017-03-07 00:19:38 +08:00
|
|
|
|
public override ModType ModType => ModType.DifficultyReduction;
|
2017-03-02 13:24:32 +08:00
|
|
|
|
|
2017-02-17 04:05:03 +08:00
|
|
|
|
[BackgroundDependencyLoader]
|
|
|
|
|
private void load(OsuColour colours)
|
|
|
|
|
{
|
2017-03-09 15:55:40 +08:00
|
|
|
|
ButtonColour = colours.Green;
|
2017-02-18 19:28:22 +08:00
|
|
|
|
SelectedColour = colours.GreenLight;
|
2017-02-17 04:05:03 +08:00
|
|
|
|
}
|
2017-02-23 10:16:23 +08:00
|
|
|
|
|
|
|
|
|
public DifficultyReductionSection()
|
2017-02-17 04:05:03 +08:00
|
|
|
|
{
|
|
|
|
|
Header = @"Gameplay Difficulty Reduction";
|
2017-02-23 10:16:23 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|