osu/osu.Game/Overlays/Mods/DifficultyReductionSection.cs

29 lines
906 B
C#
Raw Normal View History

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;
using osu.Game.Modes.Mods;
2017-02-16 20:05:03 +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-02-16 20:05:03 +00:00
[BackgroundDependencyLoader]
private void load(OsuColour colours)
{
2017-03-09 07:55:40 +00:00
ButtonColour = colours.Green;
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
}
}
}