public Vector2f checkIntersection(Vector2f lineStart, Vector2f lineEnd, boolean hurt) {

        Vector2f nearestIntersection = null;

        for(int i = 0; i < colPosStart.size(); i++)
        {
            Vector2f colVector = lineIntersects(lineStart, lineEnd, colPosStart.get(i), colPosEnd.get(i));

            if(colVector != null && (nearestIntersection == null || nearestIntersection.sub(lineStart).length() > colVector.sub(lineStart).length()))
            {
                nearestIntersection = colVector;
            }
        }

        for (Door door : doors)
        {
            Vector2f colVector = lineInterSectRect(lineStart, lineEnd, new Vector2f(door.getTransform().getTranslation().getX(), door.getTransform().getTranslation().getZ()), door.getDoorSize());

            nearestIntersection = findNearestIntesection(nearestIntersection, colVector, lineStart);
        }

        if(hurt)
        {
            rounds.damage(lineStart, lineEnd, nearestIntersection);
        }

        return nearestIntersection;
    }