Properties

Event

new Apple()

Extends
Alive

Properties

color  String

Donec imperdiet dignissim

energy

amount of energy

Property

Name Type Optional Description

the

 

 

Inherited from
Alive#energy

Method

survive(environment) → Energy

Parameter

Name Type Optional Description

environment

 

 

the environment when this Alive thing is surviving

Inherited from
Alive#survive
Returns

the energy wasted in this surviving instance

Event

beEaten  Energy

Sed vehicula purus dui