// hasVerb.js
(function () {
/*global adventurejs A*/
var p = adventurejs.Game.prototype;
/**
* Convenience method to ask whether this game has specified verb.
* @method adventurejs.Game#hasVerb
* @memberOf adventurejs.Game
* @param {String} verb
* @returns {Boolean}
*/
p.hasVerb = function Game_hasVerb(verb) {
return this.game.dictionary.verbs[verb] ? true : false;
};
})();