implement FI by flipping HD upside down

This commit is contained in:
LastExceed
2020-07-15 11:15:47 +02:00
parent e12f02a634
commit 4a2890c054
2 changed files with 18 additions and 3 deletions

View File

@ -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));
}
}
}