Apple()

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

new Apple()

Extends

Members

color :String

Donec imperdiet dignissim

energy

amount of energy

Properties:
Name Type Description
the Energy
Inherited From:

Methods

survive(environment) → {Energy}

Parameters:
Name Type Description
environment Environment

the environment when this Alive thing is surviving

Returns:
Energy -

the energy wasted in this surviving instance

Inherited From:

Events

beEaten

Sed vehicula purus dui

Type: