Property

new Alive()

Property

energy

amount of energy

Property

Name Type Optional Description

the

Energy

 

Method

survive(environment) → Energy

Parameter

Name Type Optional Description

environment

Environment

 

the environment when this Alive thing is surviving

Returns

Energy 

the energy wasted in this surviving instance