public void setElementGenerator(ElementGenerator e) { elemGen = e; }
public MineralGenerator(ElementGenerator gen = null, double[] mineralWts = null) { elemGen = gen ?? new ElementGenerator(); mineralWeights = mineralWts ?? new double[0]; }