mirror of https://github.com/ppy/osu
33 lines
1.1 KiB
C#
33 lines
1.1 KiB
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.
|
|
|
|
using System;
|
|
using System.Linq;
|
|
using osu.Framework.Bindables;
|
|
using osu.Framework.Graphics.Sprites;
|
|
using osu.Game.Configuration;
|
|
|
|
namespace osu.Game.Rulesets.Mods
|
|
{
|
|
public class ModWindUp : ModTimeRamp
|
|
{
|
|
public override string Name => "Wind Up";
|
|
public override string Acronym => "WU";
|
|
public override string Description => "Can you keep up?";
|
|
public override IconUsage Icon => FontAwesome.Solid.ChevronCircleUp;
|
|
public override double ScoreMultiplier => 1.0;
|
|
|
|
[SettingSource("Final rate", "The speed increase to ramp towards")]
|
|
public override BindableNumber<double> FinalRate { get; } = new BindableDouble
|
|
{
|
|
MinValue = 0.01,
|
|
MaxValue = 2,
|
|
Default = 1.5,
|
|
Value = 1.5,
|
|
Precision = 0.01,
|
|
};
|
|
|
|
public override Type[] IncompatibleMods => base.IncompatibleMods.Append(typeof(ModWindDown)).ToArray();
|
|
}
|
|
}
|