Use enum values instead of class override

This commit is contained in:
smoogipoo
2020-07-16 21:29:39 +09:00
parent 03a7b8a6ef
commit 8d9e5db641
3 changed files with 33 additions and 22 deletions

View File

@ -1,7 +1,6 @@
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Game.Graphics;
using osu.Game.Rulesets.Mania.UI;
@ -15,6 +14,6 @@ namespace osu.Game.Rulesets.Mania.Mods
public override IconUsage? Icon => OsuIcon.ModHidden;
public override string Description => @"Keys appear out of nowhere!";
protected override PlayfieldCoveringWrapper CreateCover(Drawable content) => new PlayfieldCoveringWrapper(content);
protected override CoverExpandDirection ExpandDirection => CoverExpandDirection.AlongScroll;
}
}