Apple.js

/**
 * Donec imperdiet dignissim semper. Sed vehicula purus dui, eget porta lectus convallis sagittis. Suspendisse ac lectus dignissim, tincidunt nisi quis, gravida metus.
 * @class
 * @extends Alive
 */
class Apple extends Alive {
    constructor() {
        super();
        /**
         * Donec imperdiet dignissim
         * @type {String}
         */
        this.color = null;
    }


    /**
     * Generate the Fibonacci sequence of numbers.
     *
     * @yields {number} The next number in the Fibonacci sequence.
     */
    *fib() { }


}

/**
 * Sed vehicula purus dui
 * @event Apple#beEaten
 * @type {Energy}
 */

/**
 * Generate the Fibonacci sequence of numbers.
 *
 * @yields {number} The next number in the Fibonacci sequence.
 */
function* fibonacci() { }