rename field rotate to spin

This commit is contained in:
mcendu 2019-12-09 12:11:04 +08:00
parent eb065286ae
commit 76aabdd297
1 changed files with 3 additions and 3 deletions

View File

@ -18,11 +18,11 @@ public LegacyCursor(bool spin = true)
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 @@ private void load(ISkinSource skin)
protected override void LoadComplete()
{
if (rotate)
if (spin)
cursor.Spin(10000, RotationDirection.Clockwise);
}
}