Pre-release
Adventure.js Docs Downloads
Score: 0 Moves: 0
// setState.js
(function () {
  /*global adventurejs A*/
  "use strict";
  var p = adventurejs.Asset.prototype;
  /**
   * Apply the specified state change to the asset.
   * @memberOf adventurejs.Asset
   * @method adventurejs.Asset#setState
   * @param {String} verb
   * @param {Boolean} bool
   */
  p.setState = function Asset_setState(state, bool) {
    this.is[state] = bool;
  };
})();