public void InvertCommand() { if (rotating) { clockwise = !clockwise; sun.Reverse(); } else { clockwise = true; rotating = true; sun.ForceSunset(); } }