// redirectVerb.js
(function() {
/*global adventurejs A*/
"use strict";
var p = adventurejs.Asset.prototype;
/**
* <strong>redirectVerb</strong> is a method for setting
* a verb redirect on this asset, such that when one verb
* is called on the asset, another verb will be called instead.
* Example: player enters "hit person", it is redirected to "slap person".
* @method adventurejs.Asset#redirectVerb
* @memberOf adventurejs.Asset
* @param {String} oldVerb
* @param {String} newVerb
*/
p.redirectVerb = function Asset_redirectVerb( oldVerb, newVerb )
{
this.redirected_verbs[oldVerb] = newVerb;
}
}());