Pre-release
AdventureJS Docs Downloads
Score: 0 Moves: 0
// getPlaceAsset.js
(function () {
  /*global adventurejs A*/
  var p = adventurejs.Tangible.prototype;
  /**
   * Get the object of this asset's parent asset.
   * @memberOf adventurejs.Tangible
   * @method adventurejs.Tangible#getPlaceAsset
   * @returns {Object|Boolean}
   */
  p.getPlaceAsset = p.$parent = function Tangible_getPlaceAsset() {
    return this.game.getAsset(this.getPlaceAssetId());
  };
})();