private void controlSpecializedTown(Town town){		// Correspondance entier-ressource : 0 = bois ; 1 = mouton ; 2 = ble ; 3 = argile ; 4 = minerai.
		if(town.getSpecialization()=="bois") {specializedResources[0]=2;}
		if(town.getSpecialization()=="mouton") {specializedResources[1]=2;}
		if(town.getSpecialization()=="ble") {specializedResources[2]=2;}
		if(town.getSpecialization()=="argile") {specializedResources[3]=2;}
		if(town.getSpecialization()=="minerai") {specializedResources[4]=2;}
		if(town.getSpecialization()=="all"){
			for (int i=0; i<5; i++){
				if (specializedResources[i]>3)
					specializedResources[i] = 3;
			}
		}
	}