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

  /**
   * <strong>unsetDOVs</strong> is a passthrough to 
   * <code><a href="#method_unsetVerbSubscription">unsetVerbSubscription</a></code>.
   * @memberOf adventurejs.Asset
   * @method adventurejs.Asset#unsetDOVs
   * @param {Array} verbs
   */
  p.unsetDOVs = function Asset_unsetDirectObjectOfVerbs( verbs )
  {
    for( var i = 0; i < verbs.length; i++ )
    {
      this.unsetVerbSubscription( 'dov', verbs[i] );
    }
  }
}());