mirror of
https://github.com/ppy/osu.git
synced 2025-02-20 02:23:21 +08:00
s/SetHP/SetHealth.
This commit is contained in:
parent
f44fa56646
commit
712739d779
@ -16,9 +16,9 @@ namespace osu.Game.Modes.UI
|
|||||||
|
|
||||||
protected HealthDisplay()
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user