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