// 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.FX.getVerticalDistance = function AdventureJS_getVerticalDistance(
point1,
point2
) {
return point2.x - point1.x;
};