Class: Alive

Alive()

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

Constructor

new Alive()

Source:

Members

energy

amount of energy

Properties:
Name Type Description
the Energy
Source:

Methods

survive(environment) → {Energy}

Parameters:
Name Type Description
environment Environment

the environment when this Alive thing is surviving

Source:
Returns:

the energy wasted in this surviving instance

Type
Energy