// getNestOrPlaceAspect.js
(function () {
/*global adventurejs A*/
var p = adventurejs.Character.prototype;
/**
* Get aspect of character's parent. If character is nested,
* returns nest asset preposition, otherwise returns room asset preposition.
* @memberOf adventurejs.Character
* @method adventurejs.Character#getNestOrPlaceAspect
* @return {Boolean}
*/
p.getNestOrPlaceAspect = function Character_getNestOrPlaceAspect() {
return this.isNested() ? this.getNestAspect() : this.getPlaceAspect();
};
})();