Apple

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

Constructor

new Apple()

Extends

Members

(readonly) FOO

A constant.

Overrides
Deprecated
  • This is no longer used

(constant) NUMBER_ARRAY :Object

This is a number array.

Type:
  • Object
Default Value
  • {"google":"Google","games":"Games"}

color :String

Donec imperdiet dignissim

Type:
  • String

Methods

(generator) fib() → {number}

Generate the Fibonacci sequence of numbers.

Yields:

The next number in the Fibonacci sequence.

Type: 
number

gameQuery()

Text

Text

code

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

survive(life) → {Energy}

Parameters:
NameTypeDescription
lifearray.<(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

Type: 
Energy

Events

beEaten

Sed vehicula purus dui

Type: