mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 06:57:39 +08:00
Rename rotation set method to match others
This commit is contained in:
parent
f48984920d
commit
4dd40542d5
@ -227,7 +227,7 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
|
||||
Ticks.Rotation = Disc.Rotation;
|
||||
|
||||
SpmCounter.SetRotation(Disc.CumulativeRotation);
|
||||
bonusComponent.UpdateRotation(Disc.CumulativeRotation);
|
||||
bonusComponent.SetRotation(Disc.CumulativeRotation);
|
||||
|
||||
float relativeCircleScale = Spinner.Scale * circle.DrawHeight / mainContainer.DrawHeight;
|
||||
float targetScale = relativeCircleScale + (1 - relativeCircleScale) * Progress;
|
||||
|
@ -40,7 +40,7 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables.Pieces
|
||||
|
||||
private int currentSpins;
|
||||
|
||||
public void UpdateRotation(double rotation)
|
||||
public void SetRotation(double rotation)
|
||||
{
|
||||
if (ticks.Count == 0)
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user