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

  /**
   * <strong>setDOVs</strong> is a passthrough to send
   * multiple verbs to
   * <code><a href="#method_setVerbSubscription">setVerbSubscription</a></code>
   * with direct object specified.
   * @memberOf adventurejs.Asset
   * @method adventurejs.Asset#setDOVs
   * @param {String} verb
   * @param {Object} params
   */
  p.setDOVs = function Asset_setDOVs(verbs) {
    for (var i = 0; i < verbs.length; i++) {
      this.setVerbSubscription("dov", verbs[i]);
    }
  };
})();