public void getRoads(Rectangle2D area, ArrayList<Road> roads){
        if(nodes[0] == null){
            roads.addAll(objects);
        }else{
            roads.addAll(objects);
            if(nodes[0].testArea(area)) nodes[0].getRoads(area, roads);
            if(nodes[1].testArea(area)) nodes[1].getRoads(area, roads);
            if(nodes[2].testArea(area)) nodes[2].getRoads(area, roads);
            if(nodes[3].testArea(area)) nodes[3].getRoads(area, roads);
        }
    }