Add basic legacy combo counter and updating positioning logic

This commit is contained in:
Dean Herbert
2020-10-14 17:21:56 +09:00
parent 6eb3176776
commit 2fce064e32
7 changed files with 54 additions and 41 deletions

View File

@ -9,7 +9,7 @@ namespace osu.Game.Screens.Play.HUD
/// <summary>
/// Uses the 'x' symbol and has a pop-out effect while rolling over.
/// </summary>
public class StandardComboCounter : ComboCounter
public class LegacyComboCounter : ComboCounter
{
protected uint ScheduledPopOutCurrentId;
@ -18,6 +18,14 @@ namespace osu.Game.Screens.Play.HUD
public new Vector2 PopOutScale = new Vector2(1.6f);
public LegacyComboCounter()
{
Anchor = Anchor.BottomLeft;
Origin = Anchor.BottomLeft;
Margin = new MarginPadding { Top = 5, Left = 20 };
}
protected override void LoadComplete()
{
base.LoadComplete();