Pre-release
AdventureJS Docs Downloads
Score: 0 Moves: 0
// getPlacePreposition.js
(function () {
  /*global adventurejs A*/
  var p = adventurejs.Tangible.prototype;
  /**
   * Returns the aspect id of this asset's parent
   * asset, or a blank string.
   * @memberOf adventurejs.Tangible
   * @method adventurejs.Tangible#getPlacePreposition
   * @return {String}
   */
  p.getPlacePreposition = function Tangible_getPlacePreposition() {
    if (!this._place) return "";
    if (!this._place.aspect) return "";
    return this._place.aspect;
  };
})();