public void drawObjects(Graphics g) {
        if(objects.size() == 0)
            return;
        int cntX = 0;
        int cntY = 0;
        int maxCntX = getImageWidth()/(110 + 20);
        int maxCntY = getImageHeight()/(110 + 20);

        for (OfficeObject curObject : objects) {
            if(cntX >= maxCntX){
                cntX = 0;
                cntY++;
                System.out.println("New line of objects");
            }
            if(cntY >= maxCntY){
                System.out.println("End od free space in room");
                //JOptionPane.showMessageDialog(null, "[WARNING] Not all object was draw");
                return;
            }

            int h_gap = 20;
            int v_gap = 10;
            int child_y = getY() + cntY*(curObject.getObjectImage().getHeight(null) + v_gap) + 20;
            int child_x = getX() + cntX++*(curObject.getObjectImage().getWidth(null) + h_gap) + 20;

            curObject.setX(child_x);
            curObject.setY(child_y);

            if(child_x >= getImageWidth()) {
                cntY++;
                cntX = 0;
            }
            drawObject(curObject, g, child_x, child_y);
        }
    }