1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-15 15:27:20 +08:00

Reorder fields

This commit is contained in:
smoogipoo 2020-04-14 15:09:31 +09:00
parent 7d2d0785fd
commit 3183827329

View File

@ -23,20 +23,18 @@ namespace osu.Game.Screens.Play.HUD
public class FailingLayer : HealthDisplay
{
private const float max_alpha = 0.4f;
private const int fade_time = 400;
private readonly Bindable<bool> enabled = new Bindable<bool>();
private Bindable<bool> configEnabled;
private const float gradient_size = 0.3f;
/// <summary>
/// The threshold under which the current player life should be considered low and the layer should start fading in.
/// </summary>
public double LowHealthThreshold = 0.20f;
private const float gradient_size = 0.3f;
private readonly Bindable<bool> enabled = new Bindable<bool>();
private readonly Container boxes;
private Bindable<bool> configEnabled;
private HealthProcessor healthProcessor;
public FailingLayer()