protected CCMultiplexLayer(CCLayer... params){
  layers=new ArrayList<CCLayer>();
  layers.addAll(Arrays.asList(params));
  enabledLayer=0;
  addChild(layers.get(enabledLayer));
}

protected CCMultiplexLayer ( CCLayer ... params ) { layers = new ArrayList < CCLayer > ( ) ; layers . addAll ( Arrays . asList ( params ) ) ; enabledLayer = 0 ; addChild ( layers . get ( enabledLayer ) ) ; }
initializes a multiplexlayer with one or more layers using a variable argument list .
