protected void setupMapArray(){
		for(int lay=0; lay < gids.length; lay++){
			int i=0;
			for(int y = 0; y < mapSize.getY() ; y++){
				for(int x = 0; x < mapSize.getX(); x++){
					mapData[lay][x][y] = gids[lay][i];
					if(layerType[lay] == 1 && !col[x][y]){
						col[x][y] = (gids[lay][i] != 0);
					}

					i++;
				}
			}
		}
	}