Pre-release
AdventureJS Docs Downloads
Score: 0 Moves: 0
// getWidth.js
(function () {
  /*global adventurejs A*/
  var p = adventurejs.Tangible.prototype;
  /**
   * Get this asset's width.
   * @memberOf adventurejs.Tangible
   * @method adventurejs.Tangible#getWidth
   * @returns {Float}
   */
  p.getWidth = function Tangible_getWidth() {
    return this.dimensions.width;
  };
})();