Pre-release
Adventure.js Docs Downloads
Score: 0 Moves: 0
// getYBottom.js
(function () {
  /*global adventurejs A*/
  "use strict";
  var p = adventurejs.Tangible.prototype;
  /**
   * Get this asset's global bottom y based on its y and height,
   * which may be negative.
   * @memberOf adventurejs.Tangible
   * @method adventurejs.Tangible#getYBottom
   * @returns {Float}
   */
  p.getYBottom = function Tangible_getYBottom() {
    return this.position.y;
  };
})();