mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 13:47:38 +08:00
33 lines
971 B
C#
33 lines
971 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
|
|
{
|
|
internal class OsuModGrow : OsuModObjectScaleTween
|
|
{
|
|
public override string Name => "Grow";
|
|
|
|
public override string Acronym => "GR";
|
|
|
|
public override IconUsage? Icon => FontAwesome.Solid.ArrowsAltV;
|
|
|
|
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 = 0f,
|
|
MaxValue = 0.99f,
|
|
Default = 0.5f,
|
|
Value = 0.5f,
|
|
Precision = 0.01f,
|
|
};
|
|
}
|
|
}
|