1. 1 : /**
  2. 2 : * Donec imperdiet dignissim semper. Sed vehicula purus dui, eget porta lectus convallis sagittis. Suspendisse ac lectus dignissim, tincidunt nisi quis, gravida metus.
  3. 3 : * @class
  4. 4 : */
  5. 5 : class Alive {
  6. 6 : constructor(){
  7. 7 : /**
  8. 8 : * amount of energy
  9. 9 : * @property {Energy} the
  10. 10 : */
  11. 11 : this.energy = null;
  12. 12 : }
  13. 13 : /**
  14. 14 : * @param {Environment} environment the environment when this Alive thing is surviving
  15. 15 : * @return {Energy} the energy wasted in this surviving instance
  16. 16 : * @method
  17. 17 : */
  18. 18 : survive() {
  19. 19 : return null
  20. 20 : }
  21. 21 : }