examples/grow21/client/lib/crafty.js
function(a, b){
			return (a._x < b._x + b._w && a._y < b._y + b._h 
					&& a._x + a._w > b._x && a._y + a._h > b._y)
		}
function(a, b){
			return (a._x < b._x + b._w && a._y < b._y + b._h 
					&& a._x + a._w > b._x && a._y + a._h > b._y)
		}
function ( a , b ) { return ( a . _x < b . _x + b . _w && a . _y < b . _y + b . _h && a . _x + a . _w > b . _x && a . _y + a . _h > b . _y ) }
Checks whether two rectangles overlap
Checks whether two rectangles overlap