// getVerticalDistance.js
/* global adventurejs A */
/**
* Calculate the distance between the y of two points.
* @method adventurejs#getVerticalDistance
* @memberOf adventurejs
* @param {Object} point1
* @param {Object} point2
* @returns {Float}
*/
adventurejs.getVerticalDistance = function Adventurejs_getVerticalDistance(
point1,
point2
) {
return point2.x - point1.x;
};