package org.pfaa.chemica.model;


public class MixtureComponent {
	public final IndustrialMaterial material;
	public final double weight; // volume fraction
	
	public MixtureComponent(IndustrialMaterial material, double weight) {
		this.material = material;
		this.weight = weight;
	}
	
	public IndustrialMaterial getMaterial() {
		return this.material;
	}
}

@@ -350,10 +350,134 @@
 ial;%0A%09%7D%0A
+%09%0A%09public MixtureComponent concentrate(int factor) %7B%0A%09%09return new MixtureComponent(this.material, this.weight * factor);%0A%09%7D%0A
 %7D%0A

support concentrating a mixture