Pre-release
AdventureJS Docs Downloads
Score: 0 Moves: 0
// hasVessel.js
(function () {
  /*global adventurejs A*/
  var p = adventurejs.Tangible.prototype;
  /**
   * Determine whether asset has any aspect with a vessel.
   * @memberOf adventurejs.Tangible
   * @method adventurejs.Tangible#hasVessel
   * @return {Boolean}
   */
  p.hasVessel = function Tangible_hasVessel() {
    if (this.getVesselPreposition()) return true;
    return false;
  };
})();