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