2019-01-31 17:03:43 +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.
|
|
|
|
|
2020-07-17 22:12:01 +08:00
|
|
|
using osu.Framework.Bindables;
|
2019-03-27 18:29:27 +08:00
|
|
|
using osu.Framework.Graphics.Sprites;
|
2020-07-17 22:12:01 +08:00
|
|
|
using osu.Game.Configuration;
|
2019-01-31 17:03:43 +08:00
|
|
|
|
|
|
|
namespace osu.Game.Rulesets.Osu.Mods
|
|
|
|
{
|
2019-12-26 14:25:41 +08:00
|
|
|
internal class OsuModGrow : OsuModObjectScaleTween
|
2019-01-31 17:03:43 +08:00
|
|
|
{
|
|
|
|
public override string Name => "Grow";
|
2019-02-14 17:05:23 +08:00
|
|
|
|
2019-01-31 17:03:43 +08:00
|
|
|
public override string Acronym => "GR";
|
2019-02-14 17:05:23 +08:00
|
|
|
|
2020-01-14 21:22:00 +08:00
|
|
|
public override IconUsage? Icon => FontAwesome.Solid.ArrowsAltV;
|
2019-02-14 17:05:23 +08:00
|
|
|
|
2019-01-31 17:03:43 +08:00
|
|
|
public override string Description => "Hit them at the right size!";
|
2019-02-14 17:05:23 +08:00
|
|
|
|
2020-07-19 05:10:05 +08:00
|
|
|
[SettingSource("Starting Size", "The initial size multiplier applied to all objects.")]
|
2020-07-17 22:12:01 +08:00
|
|
|
public override BindableNumber<float> StartScale { get; } = new BindableFloat
|
|
|
|
{
|
|
|
|
MinValue = 0f,
|
|
|
|
MaxValue = 0.99f,
|
|
|
|
Default = 0.5f,
|
|
|
|
Value = 0.5f,
|
|
|
|
Precision = 0.01f,
|
|
|
|
};
|
2019-01-31 17:03:43 +08:00
|
|
|
}
|
2019-02-14 17:05:23 +08:00
|
|
|
}
|