Pre-release
Adventure.js Docs Downloads
Score: 0 Moves: 0
// getNestAsset.js
(function() {
	/*global adventurejs A*/ 
  "use strict";
  var p = adventurejs.Character.prototype;	
  /**
   * Get the object of this character asset's nest parent asset.
   * @memberOf adventurejs.Character
	 * @method adventurejs.Character#getNestAsset
   * @returns {Object|Boolean}
   */
  p.getNestAsset = p.$nest = function Character_getNestAsset() 
  {
    return this.game.getAsset( this.getNestId() );
  }
}());