2019-07-01 12:46:17 +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.
|
2018-09-05 20:54:07 +00:00
|
|
|
|
|
2020-07-17 14:12:01 +00:00
|
|
|
|
using osu.Framework.Bindables;
|
2019-07-01 11:55:09 +00:00
|
|
|
|
using osu.Framework.Graphics.Sprites;
|
2020-07-17 14:12:01 +00:00
|
|
|
|
using osu.Game.Configuration;
|
2018-09-05 20:54:07 +00:00
|
|
|
|
|
|
|
|
|
namespace osu.Game.Rulesets.Osu.Mods
|
|
|
|
|
{
|
2019-12-26 06:25:41 +00:00
|
|
|
|
public class OsuModDeflate : OsuModObjectScaleTween
|
2018-09-05 20:54:07 +00:00
|
|
|
|
{
|
|
|
|
|
public override string Name => "Deflate";
|
2019-07-01 11:55:09 +00:00
|
|
|
|
|
|
|
|
|
public override string Acronym => "DF";
|
|
|
|
|
|
2020-01-14 13:22:00 +00:00
|
|
|
|
public override IconUsage? Icon => FontAwesome.Solid.CompressArrowsAlt;
|
2019-07-01 11:55:09 +00:00
|
|
|
|
|
2019-07-03 10:42:16 +00:00
|
|
|
|
public override string Description => "Hit them at the right size!";
|
2019-07-01 11:55:09 +00:00
|
|
|
|
|
2020-07-18 21:10:05 +00:00
|
|
|
|
[SettingSource("Starting Size", "The initial size multiplier applied to all objects.")]
|
2020-07-17 14:12:01 +00:00
|
|
|
|
public override BindableNumber<float> StartScale { get; } = new BindableFloat
|
|
|
|
|
{
|
|
|
|
|
MinValue = 1f,
|
2020-07-18 00:21:55 +00:00
|
|
|
|
MaxValue = 25f,
|
2020-07-17 14:12:01 +00:00
|
|
|
|
Default = 2f,
|
|
|
|
|
Value = 2f,
|
|
|
|
|
Precision = 0.1f,
|
|
|
|
|
};
|
2018-09-05 20:54:07 +00:00
|
|
|
|
}
|
|
|
|
|
}
|