mirror of
https://github.com/osukey/osukey.git
synced 2025-08-02 22:26:41 +09:00
Change descriptions and special section
This commit is contained in:
27
osu.Game/Overlays/Mods/SpecialSection.cs
Normal file
27
osu.Game/Overlays/Mods/SpecialSection.cs
Normal file
@ -0,0 +1,27 @@
|
||||
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
|
||||
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
||||
|
||||
using OpenTK.Input;
|
||||
using osu.Framework.Allocation;
|
||||
using osu.Game.Graphics;
|
||||
using osu.Game.Rulesets.Mods;
|
||||
|
||||
namespace osu.Game.Overlays.Mods
|
||||
{
|
||||
public class SpecialSection : ModSection
|
||||
{
|
||||
protected override Key[] ToggleKeys => new[] { Key.Z, Key.X, Key.C, Key.V, Key.B, Key.N, Key.M };
|
||||
public override ModType ModType => ModType.Special;
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
private void load(OsuColour colours)
|
||||
{
|
||||
SelectedColour = colours.BlueLight;
|
||||
}
|
||||
|
||||
public SpecialSection()
|
||||
{
|
||||
Header = @"Special";
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user