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

  /**
   * Used to track whether player has seen this asset.
   * 'seen' and 'known' are distinct because a player
   * may learn about a thing without seeing it.
   * @memberOf adventurejs.Tangible
   * @method adventurejs.Tangible#setSeen
   * @param {Boolean} bool
   */
  p.setSeen = p.$seen = function Tangible_setSeen(bool = true) {
    this.is.seen = bool;
  };
})();