public void printMenu(Graphics g) {
        String fire;
        // sets the text for the fire setting button
        if (firesetting) {
            fire = "on";
        } else {
            fire = "off";
        }
        //sets the text for the start button
        String startText = "Start Game";
        if (gamePaused && !gameStarted && !firstStart) {
            startText = " Resume";

        }

        //Menu
        g.setFont(new Font("Arial", Font.BOLD, 26));
        g.setColor(Color.WHITE);
        g.drawString("Dragon Hunter", 375, 75);
        if (!startHover) {
            g.setColor(Color.CYAN);
        } else {
            g.setColor(Color.PINK);
        }

        g.fillRect(startButton.x, startButton.y, startButton.width, startButton.height);
        g.setFont(new Font("Arial", Font.BOLD, 12));
        g.setColor(Color.GRAY);
        g.drawString(startText, startButton.x + 20, startButton.y + 17);
        //highscore
        if (!scoreHover) {
            g.setColor(Color.CYAN);
        } else {
            g.setColor(Color.PINK);
        }
        g.fillRect(scoreButton.x, scoreButton.y, scoreButton.width, scoreButton.height);
        g.setColor(Color.GRAY);
        g.drawString("High Score", scoreButton.x + 20, scoreButton.y + 17);

        //quit button
        if (!quitHover) {
            g.setColor(Color.CYAN);
        } else {
            g.setColor(Color.PINK);
        }
        g.fillRect(quitButton.x, quitButton.y, quitButton.width, quitButton.height);
        g.setColor(Color.GRAY);
        g.drawString("Quit Game", quitButton.x + 20, quitButton.y + 17);
        //settings
        if (firesetting) {
            g.setColor(Color.GREEN);
        } else {
            g.setColor(Color.RED);
        }
        g.fillRect(settingsButton.x, settingsButton.y, settingsButton.width, settingsButton.height);
        g.setColor(Color.BLACK);
        g.setFont(new Font("Arial", Font.BOLD, 12));
        g.drawString("fire Button:" + fire, settingsButton.x + 20, settingsButton.y + 17);






    }