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-03-07 00:19:38 +08:00
|
|
|
|
using osu.Game.Modes;
|
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-02 13:24:32 +08:00
|
|
|
|
protected override Key[] ToggleKeys => new Key[] { 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-07 16:17:51 +08:00
|
|
|
|
BottonColour = 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
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|