// DOVdidDo.js
(function() {
/*global adventurejs A*/
"use strict";
var p = adventurejs.Asset.prototype;
/**
* <strong>DOVdidDo</strong> is a method to check whether
* this asset was already used as a direct objecb by the
* specified verb.
* <br><br>
* <strong>_didDo</strong> is an alias meant for authors.
* @memberOf adventurejs.Asset
* @method adventurejs.Asset#DOVdidDo
* @param {String} verb
* @returns {Boolean}
*/
p.DOVdidDo = p._didDo = function Asset_DOVDidDo(verb)
{
if( !verb
|| !this.game.dictionary.verbs[verb]
|| !this.dov[verb] )
{
return false;
}
return this.dov[verb].did_do;
}
}());