Constructor # new Tree() Source: Tree.js, line 6 Extends Alive Members # branches :Array.<Alive> Donec imperdiet dignissim Type: Array.<Alive> Source: Tree.js, line 13 # energy amount of energy Properties Type Description Energy Overrides: Alive#energy Default Value: null Source: Alive.js, line 12 Methods # crop(environment) → {Energy} Parameters: Name Type Description environment Environment the environment when this Alive thing is surviving Source: Tree.js, line 22 Fires: Tree.event:crop Throws: Err Returns: the energy wasted in this surviving instance Type Energy # survive(environment) → {Energy} Parameters: Name Type Description environment Environment the environment when this Alive thing is surviving Overrides: Alive#survive Source: Alive.js, line 20 Returns: the energy wasted in this surviving instance Type Energy