mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
implement FI by flipping HD upside down
This commit is contained in:
@ -3,6 +3,9 @@
|
||||
|
||||
using osu.Framework.Graphics.Sprites;
|
||||
using osu.Game.Graphics;
|
||||
using osu.Game.Rulesets.Mania.Objects;
|
||||
using osu.Game.Rulesets.UI;
|
||||
using osuTK;
|
||||
|
||||
namespace osu.Game.Rulesets.Mania.Mods
|
||||
{
|
||||
@ -12,5 +15,11 @@ namespace osu.Game.Rulesets.Mania.Mods
|
||||
public override string Acronym => "FI";
|
||||
public override IconUsage? Icon => OsuIcon.ModHidden;
|
||||
public override string Description => @"Keys appear out of nowhere!";
|
||||
|
||||
public override void ApplyToDrawableRuleset(DrawableRuleset<ManiaHitObject> drawableRuleset)
|
||||
{
|
||||
base.ApplyToDrawableRuleset(drawableRuleset);
|
||||
laneCovers.ForEach(laneCover => laneCover.Scale = new Vector2(1f, -1f));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user