示例#1
0
        private void buttonRotar_Click(object sender, EventArgs e)
        {
            int   semilla = (Int32.Parse(this.textBoxSemilla.Text) % 13);
            Pieza next    = new Pieza(semilla);
            Pieza rotada  = next.Rotar();

            AgregarSiguientePieza(rotada.Id);
        }