public void renderMap(Cell[][] map){
        mapPanel.removeAll();

        int count = 0;
        for(int i = 0; i < 4; i++){
            for(int j = 0; j < 4; j++){
                JPanel internalGridPanel = new JPanel(new GridLayout(2,2,1,1));

                Cell currentCell = map[i][j];
                if(currentCell.contains(Cell.BREEZE)){
                    JLabel l = new JLabel(new ImageIcon(BREEZE_IMG_PATH), JLabel.CENTER);
                    l.setBorder(BorderFactory.createBevelBorder(BevelBorder.LOWERED));
                    internalGridPanel.add(l);
                }
                if(currentCell.getContent() == Cell.EMPTY){
                    JLabel l = new JLabel(new ImageIcon(EMPTY_IMG_PATH), JLabel.CENTER);
                    l.setBorder(BorderFactory.createBevelBorder(BevelBorder.LOWERED));
                    internalGridPanel.add(l);
                }
                if(currentCell.contains(Cell.GLITTER)){
                    JLabel l = new JLabel(new ImageIcon(GLITTER_IMG_PATH), JLabel.CENTER);
                    l.setBorder(BorderFactory.createBevelBorder(BevelBorder.LOWERED));
                    internalGridPanel.add(l);
                }
                if(currentCell.contains(Cell.PIT)){
                    JLabel l = new JLabel(new ImageIcon(PIT_IMG_PATH), JLabel.CENTER);
                    l.setBorder(BorderFactory.createBevelBorder(BevelBorder.LOWERED));
                    internalGridPanel.add(l);
                }
                if(currentCell.contains(Cell.STENCH)){
                    JLabel l = new JLabel(new ImageIcon(STENCH_IMG_PATH), JLabel.CENTER);
                    l.setBorder(BorderFactory.createBevelBorder(BevelBorder.LOWERED));
                    internalGridPanel.add(l);
                }
                if(currentCell.contains(Cell.WUMPUS)){
                    JLabel l = new JLabel(new ImageIcon(WUMPUS_IMG_PATH), JLabel.CENTER);
                    l.setBorder(BorderFactory.createBevelBorder(BevelBorder.LOWERED));
                    internalGridPanel.add(l);
                }
                internalGridPanel.setBorder(BorderFactory.createLineBorder(Color.BLACK));
                mapPanel.add(internalGridPanel);
            }
        }
        mapPanel.updateUI();
        this.revalidate();
    }