2021-04-24 05:33:56 +00:00
|
|
|
|
// 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.
|
|
|
|
|
|
2021-04-17 14:01:23 +00:00
|
|
|
|
using osu.Framework.Graphics.Sprites;
|
2022-08-10 20:09:11 +00:00
|
|
|
|
using osu.Framework.Localisation;
|
2021-04-17 14:38:28 +00:00
|
|
|
|
using osu.Game.Rulesets.Catch.Objects;
|
2021-04-17 14:01:23 +00:00
|
|
|
|
using osu.Game.Rulesets.Mods;
|
2021-04-17 14:38:28 +00:00
|
|
|
|
using osu.Game.Rulesets.UI;
|
2021-04-24 05:33:56 +00:00
|
|
|
|
using osuTK;
|
2021-04-17 14:01:23 +00:00
|
|
|
|
|
|
|
|
|
namespace osu.Game.Rulesets.Catch.Mods
|
|
|
|
|
{
|
2021-04-17 14:38:28 +00:00
|
|
|
|
public class CatchModFloatingFruits : Mod, IApplicableToDrawableRuleset<CatchHitObject>
|
2021-04-17 14:01:23 +00:00
|
|
|
|
{
|
|
|
|
|
public override string Name => "Floating Fruits";
|
|
|
|
|
public override string Acronym => "FF";
|
2022-08-10 20:09:11 +00:00
|
|
|
|
public override LocalisableString Description => "The fruits are... floating?";
|
2021-04-17 14:01:23 +00:00
|
|
|
|
public override double ScoreMultiplier => 1;
|
2021-04-17 21:55:39 +00:00
|
|
|
|
public override IconUsage? Icon => FontAwesome.Solid.Cloud;
|
2021-04-17 14:01:23 +00:00
|
|
|
|
|
2021-04-17 14:38:28 +00:00
|
|
|
|
public void ApplyToDrawableRuleset(DrawableRuleset<CatchHitObject> drawableRuleset)
|
2021-04-17 14:01:23 +00:00
|
|
|
|
{
|
2023-06-23 05:18:11 +00:00
|
|
|
|
drawableRuleset.PlayfieldAdjustmentContainer.Scale = new Vector2(1, -1);
|
2021-04-17 14:01:23 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|