Constructor # new Alive() Source: Alive.js, line 5 Members # energy amount of energy Properties Type Description Energy Default Value: null Source: Alive.js, line 12 Methods # survive(environment) → {Energy} Parameters: Name Type Description environment Environment the environment when this Alive thing is surviving Source: Alive.js, line 20 Returns: the energy wasted in this surviving instance Type Energy