1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 17:27:39 +08:00

s/SetHP/SetHealth.

This commit is contained in:
smoogipooo 2017-03-10 13:58:17 +09:00
parent f44fa56646
commit 712739d779
2 changed files with 3 additions and 3 deletions

View File

@ -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);
}
}

View File

@ -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);
}
}