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

  /**
   * <strong>setKnown</strong> sets an object known,
   * also setting any linked assets known.
   * @memberOf adventurejs.Tangible
   * @method adventurejs.Tangible#setKnown
   * @param {Boolean} bool
   */
  p.setKnown = p.$known = function Tangible_setKnown(bool = true) {
    this.is.known = bool;
    if (this.setAllAspectsContentsKnown) this.setAllAspectsContentsKnown(bool);
  };
})();