Pre-release
Adventure.js Docs Downloads
Score: 0 Moves: 0
// setSealed.js
(function () {
  /*global adventurejs A*/
  "use strict";
  var p = adventurejs.Tangible.prototype;

  /**
   * <strong>setSealed</strong> sets an asset sealed,
   * also setting any linked assets sealed.
   * @memberOf adventurejs.Tangible
   * @method adventurejs.Tangible#setSealed
   * @param {Boolean} bool
   */
  p.setSealed = p.$seal = function Tangible_setSealed(bool = true) {
    this.is.sealed = bool;
  };
})();