Esempio n. 1
0
 //Attaches a set of species attributes to every land unit.
 //Must be performed following construction.
 public void attach(speciesattrs species_attrs_in)
 {
     for (int i = 0; i < maxLU; i++)
     {
         land_Units[i].attach(species_attrs_in);
     }
 }
Esempio n. 2
0
        public landunit()
        {
            minShade = 0;
            ltID     = 0;

            name          = null;
            species_Attrs = null;
            //probReproduction               = null;
            probReproductionOriginalBackup = null;
        }
Esempio n. 3
0
 //This attaches a set of species attributes to all instances of species.
 public static void attach(speciesattrs s)
 {
     species_Attrs = s;
 }
Esempio n. 4
0
 //Attaches a set of species attributes to the land unit.
 //Must be performed following construction.
 public void attach(speciesattrs spe_attr)
 {
     species_Attrs = spe_attr;
 }