public void merge(int start, int len) {
public TileLayer merge(int start, int len, boolean all) { int w = myMap.getBounds().width; int h = myMap.getBounds().height; mergedLayer = new TileLayer(w, h);  for(int i=0;i<h;i++) { for(int j=0;j<w;j++) { mergedLayer.setTileAt(j,i,createCell(j,i,start,len,all)); } }
    public void merge(int start, int len) {    }