Tree

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


Constructor

new Tree()

Source

Extends

Members

branches :Array.<Alive>

Donec imperdiet dignissim

Type

(constant) NUMBER_ARRAY :Object

This is a number array.

Type
  • Object
Overrides
Default Value:
  • {"undefined":"Games"}

Methods

crop(environment) → {Energy}

Parameters
Name Type Description
environment Environment

The environment when this Tree is surviving

Fires
  • Tree.event:crop
Throws

Err

Returns

The energy wasted in this surviving instance

Type: 
Energy

survive(life) → {Energy}

Parameters
Name Type Description
life Array.<(object|function()|Array|number|string|undefined|null|symbol|boolean|Energy)>

This is an array of many things.

Overrides
Deprecated
  • Yes
Returns

the energy wasted in this surviving instance context-menu

Type: 
Energy

gameQuery() → {null}

Text

Text

code

Note that commands are not matched in captions or in the middle of the text.

Overrides
Returns

Null.

Type: 
null