Energy.js

/**
 * A unit of energy. Curabitur sollicitudin porttitor turpis vitae
 * rutrum. Mauris interdum neque id massa sollicitudin, fermentum
 * facilisis erat commodo. In at purus a risus aliquam faucibus.
 * @class
 * @hideconstructor
 */
class Energy {
    constructor() {

        /**
         * The amount of energy in this unit
         * @type {number}
         */
        this.amount = null;

        /**
         * Mauris interdum neque {@link Environment} id massa
         * @type {EnergyUnit}
         */
        this.unit = null;
    }
}

/**
 * @typedef {object} EnergyUnit
 * @property {string} foo kajsdh kajhsd
 * @property {Array<Array<string>>} hello aksjdh kaj shdkj asd
 */