1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 01:27:29 +08:00
osu-lazer/osu.Game.Rulesets.Osu/Mods/OsuModDeflate.cs

31 lines
950 B
C#
Raw Normal View History

// 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.
2020-07-17 22:12:01 +08:00
using osu.Framework.Bindables;
using osu.Framework.Graphics.Sprites;
2020-07-17 22:12:01 +08:00
using osu.Game.Configuration;
namespace osu.Game.Rulesets.Osu.Mods
{
public class OsuModDeflate : OsuModObjectScaleTween
{
public override string Name => "Deflate";
public override string Acronym => "DF";
2020-01-14 21:22:00 +08:00
public override IconUsage? Icon => FontAwesome.Solid.CompressArrowsAlt;
public override string Description => "Hit them at the right size!";
2020-07-17 23:53:20 +08:00
[SettingSource("Starting size modifier", "The object starting size modifier")]
2020-07-17 22:12:01 +08:00
public override BindableNumber<float> StartScale { get; } = new BindableFloat
{
MinValue = 1f,
MaxValue = 15f,
Default = 2f,
Value = 2f,
Precision = 0.1f,
};
}
}