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 public class FailingLayer : HealthDisplay
{ {
private const float max_alpha = 0.4f; private const float max_alpha = 0.4f;
private const int fade_time = 400; private const int fade_time = 400;
private const float gradient_size = 0.3f;
private readonly Bindable<bool> enabled = new Bindable<bool>();
private Bindable<bool> configEnabled;
/// <summary> /// <summary>
/// The threshold under which the current player life should be considered low and the layer should start fading in. /// The threshold under which the current player life should be considered low and the layer should start fading in.
/// </summary> /// </summary>
public double LowHealthThreshold = 0.20f; 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 readonly Container boxes;
private Bindable<bool> configEnabled;
private HealthProcessor healthProcessor; private HealthProcessor healthProcessor;
public FailingLayer() public FailingLayer()