rename field rotate to spin

This commit is contained in:
mcendu 2019-12-09 12:11:04 +08:00
parent eb065286ae
commit 76aabdd297

View File

@ -18,11 +18,11 @@ namespace osu.Game.Rulesets.Osu.Skinning
Anchor = Anchor.Centre;
Origin = Anchor.Centre;
rotate = spin;
this.spin = spin;
}
private NonPlayfieldSprite cursor;
private readonly bool rotate;
private readonly bool spin;
[BackgroundDependencyLoader]
private void load(ISkinSource skin)
@ -46,7 +46,7 @@ namespace osu.Game.Rulesets.Osu.Skinning
protected override void LoadComplete()
{
if (rotate)
if (spin)
cursor.Spin(10000, RotationDirection.Clockwise);
}
}