Tree

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
Source:

# (constant) NUMBER_ARRAY :Object

This is a number array.

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

Methods

# crop(environment) → {Energy}

Parameters
Name Type Description
environment Environment

The environment when this Tree is surviving

Source:
Fires
  • Tree.event:crop
Throws

Err

Returns

The energy wasted in this surviving instance

Type

# 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
Source:
Returns

the energy wasted in this surviving instance context-menu

Type

# gameQuery() → {null}

Text

Text

code

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

Overrides:
Source:
Returns

Null.

Type
  • null