public void vulmatrix() { int j = 0; for (int i = 0; i < 10; i++) { for (j = 0; j < 20; j++) { Matrix[i, j] = new GenereerClasse(); } j = 0; } for (int k = 0; k < 2; k++) { for (int h = 0; h < 2; h++) { clickMatrix[k, h] = new Click(); } } }
public void regenereermatrix() { int j = 0; for (int i = 0; i < 10; i++) { for (j = 0; j < 10; j++) { Matrix[i, j] = new GenereerClasse(); } j = 0; } }