Pre-release
Adventure.js Docs Downloads
Score: 0 Moves: 0
// getY.js
(function () {
  /*global adventurejs A*/
  "use strict";
  var p = adventurejs.Tangible.prototype;
  /**
   * Get this asset's global y.
   * @memberOf adventurejs.Tangible
   * @method adventurejs.Tangible#getY
   * @returns {Float}
   */
  p.getY = function Tangible_getY() {
    return this.position.y;
  };
})();