// getNestAssetId.js
(function () {
/* global AdventureJS A */
var p = AdventureJS.Assets.Character.prototype;
/**
* @memberOf AdventureJS.Assets.Character
* @method AdventureJS.Assets.Character#getNestAssetId
* @returns {String}
*/
p.getNestAssetId = function Character_getNestAssetId() {
if (
"undefined" === typeof this.nest ||
Object.keys(this.nest).length === 0
) {
return "";
}
return this.nest[Object.keys(this.nest)[0]];
};
})();