dist/melonjs.js
function overlaps(rect) {
         return rect.left < this.getWidth() && rect.right > 0 && rect.top < this.getHeight() && rect.bottom > 0;
       }
function overlaps(rect) {
         return rect.left < this.getWidth() && rect.right > 0 && rect.top < this.getHeight() && rect.bottom > 0;
       }
function overlaps ( rect ) { return rect . left < this . getWidth ( ) && rect . right > 0 && rect . top < this . getHeight ( ) && rect . bottom > 0 ; }
check if the given rectangle overlaps with the renderer screen coordinates
@name overlaps
@memberOf me.Renderer.prototype
@function
@param  {me.Rect} rect
@return {boolean} true if overlaps
check if the given rectangle overlaps with the renderer screen coordinates