2019-01-31 09:03:43 +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.
|
|
|
|
|
2020-07-17 14:12:01 +00:00
|
|
|
using osu.Framework.Bindables;
|
2019-03-27 10:29:27 +00:00
|
|
|
using osu.Framework.Graphics.Sprites;
|
2022-08-10 20:09:11 +00:00
|
|
|
using osu.Framework.Localisation;
|
2019-01-31 09:03:43 +00:00
|
|
|
|
|
|
|
namespace osu.Game.Rulesets.Osu.Mods
|
|
|
|
{
|
2019-12-26 06:25:41 +00:00
|
|
|
internal class OsuModGrow : OsuModObjectScaleTween
|
2019-01-31 09:03:43 +00:00
|
|
|
{
|
|
|
|
public override string Name => "Grow";
|
2019-02-14 09:05:23 +00:00
|
|
|
|
2019-01-31 09:03:43 +00:00
|
|
|
public override string Acronym => "GR";
|
2019-02-14 09:05:23 +00:00
|
|
|
|
2020-01-14 13:22:00 +00:00
|
|
|
public override IconUsage? Icon => FontAwesome.Solid.ArrowsAltV;
|
2019-02-14 09:05:23 +00:00
|
|
|
|
2022-08-10 20:09:11 +00:00
|
|
|
public override LocalisableString Description => "Hit them at the right size!";
|
2019-02-14 09:05:23 +00:00
|
|
|
|
2022-09-25 19:49:22 +00:00
|
|
|
public override BindableNumber<float> StartScale { get; } = new BindableFloat(0.5f)
|
2020-07-17 14:12:01 +00:00
|
|
|
{
|
|
|
|
MinValue = 0f,
|
|
|
|
MaxValue = 0.99f,
|
|
|
|
Precision = 0.01f,
|
|
|
|
};
|
2019-01-31 09:03:43 +00:00
|
|
|
}
|
2019-02-14 09:05:23 +00:00
|
|
|
}
|