new Tree()
Members
-
branches :Array.<Alive>
-
Donec imperdiet dignissim
-
energy
-
amount of energy
Properties:
Name Type Description the Energy
Methods
-
crop(environment) → {Energy}
-
Parameters:
Name Type Description environment Environment the environment when this Alive thing is surviving
Returns:
Energythe energy wasted in this surviving instance
-
survive(environment) → {Energy}
-
Parameters:
Name Type Description environment Environment the environment when this Alive thing is surviving
Returns:
Energythe energy wasted in this surviving instance