new Alive()
Members
-
energy
-
amount of energy
Properties:
Name Type Description the
Energy
Methods
-
survive(environment)
-
Parameters:
Name Type Description environment
Environment the environment when this Alive thing is surviving
Returns:
Energy the energy wasted in this surviving instance