2020-10-16 04:42:50 +00:00
|
|
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
|
|
|
|
using osu.Game.Skinning;
|
|
|
|
|
2020-12-31 12:23:13 +00:00
|
|
|
namespace osu.Game.Screens.Play.HUD
|
2020-10-16 04:42:50 +00:00
|
|
|
{
|
2021-05-07 07:56:24 +00:00
|
|
|
public class SkinnableHealthDisplay : SkinnableDrawable
|
2020-10-16 04:42:50 +00:00
|
|
|
{
|
|
|
|
public SkinnableHealthDisplay()
|
|
|
|
: base(new HUDSkinComponent(HUDSkinComponents.HealthDisplay), _ => new DefaultHealthDisplay())
|
|
|
|
{
|
|
|
|
CentreComponent = false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|