mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 07:33:55 +09:00
Change HealthDisplay
to be a CompositeDrawable
This commit is contained in:
@ -78,7 +78,7 @@ namespace osu.Game.Screens.Play.HUD
|
||||
RelativeSizeAxes = Axes.X;
|
||||
Margin = new MarginPadding { Top = 20 };
|
||||
|
||||
Children = new Drawable[]
|
||||
InternalChildren = new Drawable[]
|
||||
{
|
||||
new Box
|
||||
{
|
||||
|
@ -43,7 +43,7 @@ namespace osu.Game.Screens.Play.HUD
|
||||
public FailingLayer()
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both;
|
||||
Children = new Drawable[]
|
||||
InternalChildren = new Drawable[]
|
||||
{
|
||||
boxes = new Container
|
||||
{
|
||||
|
@ -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; }
|
||||
|
Reference in New Issue
Block a user