public void attach(SpeciesAttrs s) { for (int i = 0; i < maxLU; i++) { landUnits[i] = new Landunit(); landUnits[i].attach(s); } }
public Landunit() { name = null; minShade = 0; probReproduction = null; probReproductionOriginalBackup = null; speciesAttrs = null; ltID = 0; }
public static void Attach(SpeciesAttrs s) { speciesAttrs = s; }
//public void set_probReproductionOriginalBackup(int index, float value) //{ // probReproductionOriginalBackup[index] = value; //} //public float get_probReproduction(int index) //{ // return Establishment_probability_Attributes.get_probability(speciesAttrs[index + 1].name, name, PlugIn.ModelCore.TimeSinceStart); // //return probReproduction[index]; //} public void attach(SpeciesAttrs s) { speciesAttrs = s; }