1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 19:57:24 +08:00
osu-lazer/osu.Game/Overlays/Mods/DifficultyReductionSection.cs

29 lines
905 B
C#
Raw Normal View History

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
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
{
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-02-17 04:05:03 +08:00
[BackgroundDependencyLoader]
private void load(OsuColour colours)
{
2017-03-07 16:17:51 +08:00
BottonColour = colours.Green;
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
}
}
}