Source: Energy.js

Energy.js

/**
 * An 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
 */
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
 */