Ejemplo n.º 1
0
        private static void satisfyConstraints()
        {
            int n = 0;

            //While n < constraints.Count()
            //DirectCast(constraints.Item(n), AbstractConstraint).resolve()
            //System.Math.Max(System.Threading.Interlocked.Increment(n), n - 1)
            for (n = 0; n <= constraints.Count - 1; n++)
            {
                //CType(constraints[n], SpringConstraint).resolve();

                SpringConstraint objSpringConstrain = (SpringConstraint)constraints[n];

                objSpringConstrain.resolve();
            }

            //End While
        }