mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 08:49:59 +09:00
s/SetHP/SetHealth.
This commit is contained in:
@ -16,9 +16,9 @@ namespace osu.Game.Modes.UI
|
||||
|
||||
protected HealthDisplay()
|
||||
{
|
||||
Current.ValueChanged += (s, e) => SetHP((float)Current);
|
||||
Current.ValueChanged += (s, e) => SetHealth((float)Current);
|
||||
}
|
||||
|
||||
protected abstract void SetHP(float value);
|
||||
protected abstract void SetHealth(float value);
|
||||
}
|
||||
}
|
||||
|
@ -55,6 +55,6 @@ namespace osu.Game.Modes.UI
|
||||
};
|
||||
}
|
||||
|
||||
protected override void SetHP(float value) => fill.ScaleTo(new Vector2(value, 1), 200, EasingTypes.OutQuint);
|
||||
protected override void SetHealth(float value) => fill.ScaleTo(new Vector2(value, 1), 200, EasingTypes.OutQuint);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user