// getNestId.js
(function() {
/*global adventurejs A*/
"use strict";
var p = adventurejs.Character.prototype;
/**
* @memberOf adventurejs.Character
* @method adventurejs.Character#getNestId
* @returns {String}
*/
p.getNestId = function Character_getNestId()
{
if( "undefined" === typeof this.nest
|| Object.keys( this.nest ).length === 0 )
{
return "";
}
return this.nest[ Object.keys( this.nest )[0] ];
//return this.getNest();
}
}());