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