2019-01-24 08:43:03 +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.
|
2018-04-13 09:19:50 +00:00
|
|
|
|
|
2018-01-09 04:41:57 +00:00
|
|
|
|
using System;
|
2020-07-14 13:06:15 +00:00
|
|
|
|
using System.Linq;
|
2022-08-10 20:09:11 +00:00
|
|
|
|
using osu.Framework.Localisation;
|
2021-02-24 06:05:12 +00:00
|
|
|
|
using osu.Game.Rulesets.Mania.UI;
|
2022-12-19 23:31:28 +00:00
|
|
|
|
using osu.Framework.Bindables;
|
2018-04-13 09:19:50 +00:00
|
|
|
|
|
2018-01-09 04:41:57 +00:00
|
|
|
|
namespace osu.Game.Rulesets.Mania.Mods
|
|
|
|
|
{
|
2021-02-24 04:39:15 +00:00
|
|
|
|
public class ManiaModHidden : ManiaModPlayfieldCover
|
2018-01-09 04:41:57 +00:00
|
|
|
|
{
|
2022-08-10 20:09:11 +00:00
|
|
|
|
public override LocalisableString Description => @"Keys fade out before you hit them!";
|
2018-03-14 03:07:03 +00:00
|
|
|
|
public override double ScoreMultiplier => 1;
|
2020-07-14 13:06:15 +00:00
|
|
|
|
|
2023-01-09 07:49:36 +00:00
|
|
|
|
public override BindableNumber<float> Coverage { get; } = new BindableFloat(0.5f)
|
2022-12-19 23:31:28 +00:00
|
|
|
|
{
|
2023-01-06 16:39:41 +00:00
|
|
|
|
Precision = 0.1f,
|
2022-12-19 23:31:28 +00:00
|
|
|
|
MinValue = 0.2f,
|
|
|
|
|
MaxValue = 0.8f,
|
|
|
|
|
Default = 0.5f,
|
|
|
|
|
};
|
2022-12-20 18:33:33 +00:00
|
|
|
|
|
2021-02-24 04:39:15 +00:00
|
|
|
|
public override Type[] IncompatibleMods => base.IncompatibleMods.Append(typeof(ManiaModFadeIn)).ToArray();
|
2021-02-24 06:05:12 +00:00
|
|
|
|
|
|
|
|
|
protected override CoverExpandDirection ExpandDirection => CoverExpandDirection.AgainstScroll;
|
2018-01-09 04:41:57 +00:00
|
|
|
|
}
|
|
|
|
|
}
|