2021-04-17 22:01:23 +08:00
|
|
|
|
using osu.Framework.Graphics;
|
|
|
|
|
using osu.Framework.Graphics.Sprites;
|
2021-04-17 22:38:28 +08:00
|
|
|
|
using osu.Game.Rulesets.Catch.Objects;
|
2021-04-17 22:01:23 +08:00
|
|
|
|
using osu.Game.Rulesets.Mods;
|
2021-04-17 22:38:28 +08:00
|
|
|
|
using osu.Game.Rulesets.UI;
|
2021-04-17 22:01:23 +08:00
|
|
|
|
using osu.Game.Screens.Play;
|
|
|
|
|
|
|
|
|
|
namespace osu.Game.Rulesets.Catch.Mods
|
|
|
|
|
{
|
2021-04-17 22:38:28 +08:00
|
|
|
|
public class CatchModFloatingFruits : Mod, IApplicableToDrawableRuleset<CatchHitObject>
|
2021-04-17 22:01:23 +08:00
|
|
|
|
{
|
|
|
|
|
public override string Name => "Floating Fruits";
|
|
|
|
|
public override string Acronym => "FF";
|
|
|
|
|
public override string Description => "The fruits are... floating?";
|
|
|
|
|
public override double ScoreMultiplier => 1;
|
2021-04-18 05:55:39 +08:00
|
|
|
|
public override IconUsage? Icon => FontAwesome.Solid.Cloud;
|
2021-04-17 22:01:23 +08:00
|
|
|
|
|
2021-04-17 22:38:28 +08:00
|
|
|
|
public void ApplyToDrawableRuleset(DrawableRuleset<CatchHitObject> drawableRuleset)
|
2021-04-17 22:01:23 +08:00
|
|
|
|
{
|
2021-04-17 22:38:28 +08:00
|
|
|
|
drawableRuleset.Anchor = Anchor.Centre;
|
|
|
|
|
drawableRuleset.Origin = Anchor.Centre;
|
|
|
|
|
drawableRuleset.Scale = new osuTK.Vector2(1, -1);
|
2021-04-17 22:01:23 +08:00
|
|
|
|
}
|
2021-04-17 22:38:28 +08:00
|
|
|
|
|
2021-04-17 22:01:23 +08:00
|
|
|
|
}
|
|
|
|
|
}
|