Change HealthDisplay to be a CompositeDrawable

This commit is contained in:
Dean Herbert
2021-05-11 12:21:31 +09:00
parent 4be15cfc5a
commit 048677846b
4 changed files with 7 additions and 5 deletions

View File

@ -14,7 +14,7 @@ namespace osu.Game.Screens.Play.HUD
/// A container for components displaying the current player health.
/// Gets bound automatically to the <see cref="Rulesets.Scoring.HealthProcessor"/> when inserted to <see cref="DrawableRuleset.Overlays"/> hierarchy.
/// </summary>
public abstract class HealthDisplay : Container
public abstract class HealthDisplay : CompositeDrawable
{
[Resolved]
protected HealthProcessor HealthProcessor { get; private set; }