Esempio n. 1
0
        public override void Resolve(RubikCube from, RubikCube to) // From: Generalmente mastercube To: Obtener un cubo que contemple el modelo recibido
        {
            this.init();

            RubikCube WorkingCube = from.Clone();

            if (!to.Equals(from))
            {
                this.startProcess(() => _resolve(from, to));
            }
            else
            {
                this.cubeMatch = from.Clone();
            }
        }
Esempio n. 2
0
        public override void Resolve(RubikCube from, RubikCube to) // From: Generalmente mastercube To: Obtener un cubo que contemple el modelo recibido
        {
            this.init(to);

            if (!to.Equals(from))
            {
                ProcessParms parms = null;

                // Load all axis
                parms = new ProcessParms(from, 0, 9, new ArrayList());
                fillCubeAux(parms);
            }
            else
            {
                this.cubeMatch = from.Clone();
            }
        }