コード例 #1
0
 private void Front_Click(object sender, EventArgs e)
 {
     Colorer(Turns.F(AlleBlokjes, false));
 }
コード例 #2
0
        private void Scramble_Click(object sender, EventArgs e)
        {
            foreach (int getal in Scrambler.Scramble(15))
            {
                switch (getal)
                {
                case 2:
                    Colorer(Turns.U(AlleBlokjes, true));
                    break;

                case 3:
                    Colorer(Turns.D(AlleBlokjes, false));
                    break;

                case 4:
                    Colorer(Turns.D(AlleBlokjes, true));
                    break;

                case 5:
                    Colorer(Turns.F(AlleBlokjes, false));
                    break;

                case 6:
                    Colorer(Turns.F(AlleBlokjes, true));
                    break;

                case 7:
                    Colorer(Turns.B(AlleBlokjes, false));
                    break;

                case 8:
                    Colorer(Turns.B(AlleBlokjes, true));
                    break;

                case 9:
                    Colorer(Turns.L(AlleBlokjes, false));
                    break;

                case 10:
                    Colorer(Turns.L(AlleBlokjes, true));
                    aTimer.Start();
                    break;

                case 11:
                    Colorer(Turns.R(AlleBlokjes, false));
                    aTimer.Start();
                    break;

                case 12:
                    Colorer(Turns.R(AlleBlokjes, true));
                    aTimer.Start();
                    break;

                default:     //1
                    Colorer(Turns.U(AlleBlokjes, false));
                    aTimer.Start();
                    break;
                }
                aTimer.Start();
            }
        }
コード例 #3
0
 private void FrontPrime_Click(object sender, EventArgs e)
 {
     Colorer(Turns.F(AlleBlokjes, true));
 }