Class: Tree

Tree

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

new Tree()

Extends

Members

branchesArray.<Alive>

Donec imperdiet dignissim

energy

amount of energy

Properties:
Name Type Description
the Energy

Methods

crop(environment){Energy}

Name Type Description
environment Environment

the environment when this Alive thing is surviving

Returns:
Type Description
Energy the energy wasted in this surviving instance

inherited survive(environment){Energy}

Name Type Description
environment Environment

the environment when this Alive thing is surviving

Returns:
Type Description
Energy the energy wasted in this surviving instance