new Tree()

Description

Donec imperdiet dignissim semper. Sed vehicula purus dui, eget porta lectus convallis sagittis. Suspendisse ac lectus dignissim, tincidunt nisi quis, gravida metus.

Details

Members


energy

Description

amount of energy

Details

branches :Array.<Alive>

Description

Donec imperdiet dignissim

Details
Array.<Alive>

Methods


survive( environment ) → {Energy}

Parameters
Name Type Description
environment Environment

the environment when this Alive thing is surviving

Returns

the energy wasted in this surviving instance

Details

crop( environment ) → {Energy}

Parameters
Name Type Description
environment Environment

the environment when this Alive thing is surviving

Returns

the energy wasted in this surviving instance

Details