mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 14:25:05 +08:00
rename field rotate to spin
This commit is contained in:
parent
eb065286ae
commit
76aabdd297
@ -18,11 +18,11 @@ namespace osu.Game.Rulesets.Osu.Skinning
|
|||||||
Anchor = Anchor.Centre;
|
Anchor = Anchor.Centre;
|
||||||
Origin = Anchor.Centre;
|
Origin = Anchor.Centre;
|
||||||
|
|
||||||
rotate = spin;
|
this.spin = spin;
|
||||||
}
|
}
|
||||||
|
|
||||||
private NonPlayfieldSprite cursor;
|
private NonPlayfieldSprite cursor;
|
||||||
private readonly bool rotate;
|
private readonly bool spin;
|
||||||
|
|
||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
private void load(ISkinSource skin)
|
private void load(ISkinSource skin)
|
||||||
@ -46,7 +46,7 @@ namespace osu.Game.Rulesets.Osu.Skinning
|
|||||||
|
|
||||||
protected override void LoadComplete()
|
protected override void LoadComplete()
|
||||||
{
|
{
|
||||||
if (rotate)
|
if (spin)
|
||||||
cursor.Spin(10000, RotationDirection.Clockwise);
|
cursor.Spin(10000, RotationDirection.Clockwise);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user