public void pintar(int x, int y, int type) {
    	int [] xy = new int [2];
    	if(type == 5) {
    		xy = buscaType(5);
    		if((xy[0] != -1) && (xy[0] != -1)) {
    			cambiarCasilla(tablero[xy[0]][xy[1]],7);
    		}
    	}
    	if(type == 6) {
    		xy = buscaType(6);
    		if((xy[0] != -1) && (xy[0] != -1)) {
    			cambiarCasilla(tablero[xy[0]][xy[1]],7);
    		}
    	}
    	if(type == 2){
    		cambiarCasilla(tablero[x][y], 2);
    		if(y+1 < size_tablero_C)
    			cambiarCasilla(tablero[x][y+1], 9);
    	}
    	cambiarCasilla(tablero[x][y],type);
    }