// getDescription.js
(function () {
/* global AdventureJS A */
var p = AdventureJS.Assets.Asset.prototype;
/**
* Get a description for an identifier on this asset.
* This is a convenience shortcut to game.getDescription().
* @memberOf AdventureJS.Assets.Asset
* @method AdventureJS.Assets.Asset#getDescription
* @param {String} identifier An aspect or other identifier.
* @return {String}
*/
p.getDescription = function Asset_getDescription(identifier) {
return this.game.getDescription({ asset: this, identifier: identifier });
};
})();