2019-01-24 16:43:03 +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.
|
2018-04-13 17:19:50 +08:00
|
|
|
|
|
2021-02-24 12:39:15 +08:00
|
|
|
|
using System;
|
|
|
|
|
using System.Linq;
|
2023-01-09 15:49:36 +08:00
|
|
|
|
using osu.Framework.Bindables;
|
2022-08-11 04:09:11 +08:00
|
|
|
|
using osu.Framework.Localisation;
|
2020-07-16 16:26:18 +08:00
|
|
|
|
using osu.Game.Rulesets.Mania.UI;
|
2018-04-13 17:19:50 +08:00
|
|
|
|
|
2018-01-09 12:41:57 +08:00
|
|
|
|
namespace osu.Game.Rulesets.Mania.Mods
|
|
|
|
|
{
|
2021-02-24 12:39:15 +08:00
|
|
|
|
public class ManiaModFadeIn : ManiaModPlayfieldCover
|
2018-01-09 12:41:57 +08:00
|
|
|
|
{
|
2018-03-14 11:07:03 +08:00
|
|
|
|
public override string Name => "Fade In";
|
2018-11-30 16:16:00 +08:00
|
|
|
|
public override string Acronym => "FI";
|
2022-08-11 04:09:11 +08:00
|
|
|
|
public override LocalisableString Description => @"Keys appear out of nowhere!";
|
2021-02-24 12:39:15 +08:00
|
|
|
|
public override double ScoreMultiplier => 1;
|
|
|
|
|
|
|
|
|
|
public override Type[] IncompatibleMods => base.IncompatibleMods.Append(typeof(ManiaModHidden)).ToArray();
|
2020-07-15 17:15:47 +08:00
|
|
|
|
|
2020-07-16 20:29:39 +08:00
|
|
|
|
protected override CoverExpandDirection ExpandDirection => CoverExpandDirection.AlongScroll;
|
2023-01-09 15:49:36 +08:00
|
|
|
|
|
2023-01-12 03:13:29 +08:00
|
|
|
|
public override BindableNumber<float> Coverage { get; } = new BindableFloat(0.5f)
|
|
|
|
|
{
|
|
|
|
|
Precision = 0.1f,
|
|
|
|
|
MinValue = 0.1f,
|
|
|
|
|
MaxValue = 0.7f,
|
|
|
|
|
Default = 0.5f,
|
|
|
|
|
};
|
2018-01-09 12:41:57 +08:00
|
|
|
|
}
|
|
|
|
|
}
|