// IOVunsetConnection.js
(function() {
/*global adventurejs A*/
"use strict";
var p = adventurejs.Asset.prototype;
/**
* Unset asset's indirect verb param connection to specified direct object.
* @memberOf adventurejs.Asset
* @method adventurejs.Asset#IOVunsetConnection
* @param {String} verb
* @param {Object} asset
*/
p.IOVunsetConnection = function Asset_IOVUnsetConnection( verb, asset )
{
if( "string" === typeof asset) asset = this.game.getAsset(asset);
if( !asset || !asset.id ) return false;
if( !verb || !this.game.dictionary.verbs[verb] ) return false;
this.game.dictionary.verbs[verb].unsetVerbSubscriptionConnection( asset, this );
}
}());