Properties

new Tree()

Extends
Alive

Properties

branches  Array of Alive

Donec imperdiet dignissim

energy

amount of energy

Property

Name Type Optional Description

the

 

 

Inherited from
Alive#energy

Methods

crop(environment) → Energy

Parameter

Name Type Optional Description

environment

Environment

 

the environment when this Alive thing is surviving

Returns

Energy 

the energy wasted in this surviving instance

survive(environment) → Energy

Parameter

Name Type Optional Description

environment

 

 

the environment when this Alive thing is surviving

Inherited from
Alive#survive
Returns

the energy wasted in this surviving instance