public void drawSpeelveld(Graphics g) {
        Graphics2D mazeUI = (Graphics2D) g;
        mazeUI.setBackground(Color.WHITE);

        mazeUI.setColor(Color.GRAY);
        for (int i = 0; i < speelveld.length; i++) {
            for (int j = 0; j < speelveld[i].length; j++) {
                if (speelveld[i][j] == VeldType.MUUR) {
                    mazeUI.fillRect(j * 20, i * 20, 20, 20);
                } else {
                    mazeUI.drawRect(j * 20, i * 20, 20, 20);
                }

            }
        }

    }