// DOVdidDoCount.js
(function() {
/*global adventurejs A*/
"use strict";
var p = adventurejs.Asset.prototype;
/**
* <strong>DOVdidDoCount</strong> is a method to get
* a count of times this asset was used
* as a direct object by the specified verb.
* <br><br>
* <strong>_doCount</strong> is an alias meant for authors.
* @memberOf adventurejs.Asset
* @method adventurejs.Asset#DOVdidDoCount
* @param {String} verb
* @returns {Int}
*/
p.DOVdidDoCount = p._doCount = function Asset_DOVDidDoCount(verb)
{
if( !verb || !this.game.dictionary.verbs[verb] ) return 0;
if( !this.dov[verb] ) return 0;
return this.dov[verb].do_count;
}
}());