mirror of
https://github.com/ppy/osu
synced 2024-12-11 17:42:28 +00:00
33 lines
978 B
C#
33 lines
978 B
C#
// 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.
|
|
|
|
#nullable disable
|
|
|
|
using osu.Framework.Bindables;
|
|
using osu.Framework.Graphics.Sprites;
|
|
using osu.Game.Configuration;
|
|
|
|
namespace osu.Game.Rulesets.Osu.Mods
|
|
{
|
|
public class OsuModDeflate : OsuModObjectScaleTween
|
|
{
|
|
public override string Name => "Deflate";
|
|
|
|
public override string Acronym => "DF";
|
|
|
|
public override IconUsage? Icon => FontAwesome.Solid.CompressArrowsAlt;
|
|
|
|
public override string Description => "Hit them at the right size!";
|
|
|
|
[SettingSource("Starting Size", "The initial size multiplier applied to all objects.")]
|
|
public override BindableNumber<float> StartScale { get; } = new BindableFloat
|
|
{
|
|
MinValue = 1f,
|
|
MaxValue = 25f,
|
|
Default = 2f,
|
|
Value = 2f,
|
|
Precision = 0.1f,
|
|
};
|
|
}
|
|
}
|