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
 * @augments Alive
 */
class Apple extends Alive {
    constructor() {
        super();

        /**
         * Donec imperdiet dignissim
         * @type {string}
         */
        this.color = null;
    }
}

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