var TileIntersectsBody = function (tileWorldRect, body)
{
    if (body.isCircle)
    {
        return false;
    }
    else
    {
        return !(
            body.right <= tileWorldRect.left ||
            body.bottom <= tileWorldRect.top ||
            body.position.x >= tileWorldRect.right ||
            body.position.y >= tileWorldRect.bottom
        );
    }
};

module.exports = TileIntersectsBody;

var TileIntersectsBody = function (tileWorldRect, body)
{
    // Currently, all bodies are treated as rectangles when colliding with a Tile. Eventually, this
    // should support circle bodies when those are less buggy in v3.

    return !(
        body.right <= tileWorldRect.left ||
        body.bottom <= tileWorldRect.top ||
        body.position.x >= tileWorldRect.right ||
        body.position.y >= tileWorldRect.bottom
    );
};

module.exports = TileIntersectsBody;

Add note about circle bodies not currently being supported in Arcade tile intersection
Add note about circle bodies not currently being supported in Arcade tile intersection
