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