2019-07-01 20:46:17 +08: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.
|
2018-09-06 04:54:07 +08:00
|
|
|
|
|
2020-07-17 22:12:01 +08:00
|
|
|
|
using osu.Framework.Bindables;
|
2019-07-01 19:55:09 +08:00
|
|
|
|
using osu.Framework.Graphics.Sprites;
|
2022-08-11 04:09:11 +08:00
|
|
|
|
using osu.Framework.Localisation;
|
2018-09-06 04:54:07 +08:00
|
|
|
|
|
|
|
|
|
namespace osu.Game.Rulesets.Osu.Mods
|
|
|
|
|
{
|
2019-12-26 14:25:41 +08:00
|
|
|
|
public class OsuModDeflate : OsuModObjectScaleTween
|
2018-09-06 04:54:07 +08:00
|
|
|
|
{
|
|
|
|
|
public override string Name => "Deflate";
|
2019-07-01 19:55:09 +08:00
|
|
|
|
|
|
|
|
|
public override string Acronym => "DF";
|
|
|
|
|
|
2020-01-14 21:22:00 +08:00
|
|
|
|
public override IconUsage? Icon => FontAwesome.Solid.CompressArrowsAlt;
|
2019-07-01 19:55:09 +08:00
|
|
|
|
|
2022-08-11 04:09:11 +08:00
|
|
|
|
public override LocalisableString Description => "Hit them at the right size!";
|
2019-07-01 19:55:09 +08:00
|
|
|
|
|
2022-09-26 03:49:22 +08:00
|
|
|
|
public override BindableNumber<float> StartScale { get; } = new BindableFloat(2)
|
2020-07-17 22:12:01 +08:00
|
|
|
|
{
|
|
|
|
|
MinValue = 1f,
|
2020-07-18 08:21:55 +08:00
|
|
|
|
MaxValue = 25f,
|
2020-07-17 22:12:01 +08:00
|
|
|
|
Precision = 0.1f,
|
|
|
|
|
};
|
2018-09-06 04:54:07 +08:00
|
|
|
|
}
|
|
|
|
|
}
|