Pre-release
Adventure.js Docs Downloads
Score: 0 Moves: 0
// getPlacePreposition.js
(function () {
  /*global adventurejs A*/
  "use strict";
  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;
  };
})();