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