2017-02-16 20:05:03 +00: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-16 23:00:18 +00:00
|
|
|
|
using OpenTK.Input;
|
2017-02-16 20:05:03 +00:00
|
|
|
|
using osu.Framework.Allocation;
|
|
|
|
|
using osu.Game.Graphics;
|
2017-03-12 13:13:43 +00:00
|
|
|
|
using osu.Game.Modes.Mods;
|
2017-02-16 20:05:03 +00:00
|
|
|
|
|
2017-03-02 05:24:32 +00:00
|
|
|
|
namespace osu.Game.Overlays.Mods
|
2017-02-23 02:16:23 +00:00
|
|
|
|
{
|
|
|
|
|
public class DifficultyReductionSection : ModSection
|
2017-02-16 20:05:03 +00:00
|
|
|
|
{
|
2017-03-09 08:44:45 +00: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-06 16:19:38 +00:00
|
|
|
|
public override ModType ModType => ModType.DifficultyReduction;
|
2017-03-02 05:24:32 +00:00
|
|
|
|
|
2017-02-16 20:05:03 +00:00
|
|
|
|
[BackgroundDependencyLoader]
|
|
|
|
|
private void load(OsuColour colours)
|
|
|
|
|
{
|
2017-03-09 07:55:40 +00:00
|
|
|
|
ButtonColour = colours.Green;
|
2017-02-18 11:28:22 +00:00
|
|
|
|
SelectedColour = colours.GreenLight;
|
2017-02-16 20:05:03 +00:00
|
|
|
|
}
|
2017-02-23 02:16:23 +00:00
|
|
|
|
|
|
|
|
|
public DifficultyReductionSection()
|
2017-02-16 20:05:03 +00:00
|
|
|
|
{
|
|
|
|
|
Header = @"Gameplay Difficulty Reduction";
|
2017-02-23 02:16:23 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|