public void monsterTurn(Player player, ArrayList<Monster> monsters) {
        // Have each monster take its action
        for(Monster m : monsters) {
            m.attacks(player);
            // Check if player is dead
            if(player.getLife() <= 0) {
                // Get player's choice
                String deathOptions[] = {"New Game", "Load Game", "Quit"};
                int choice = JOptionPane.showOptionDialog(null, "You have died!", "Choose an option",
                        0,
                        JOptionPane.QUESTION_MESSAGE,
                        null,
                        deathOptions,
                        "Quit");
                switch(choice) {
                    case 0: // New game
                        player = null;
                        MainGame.main(null);
                        break;
                    case 1: // Load game
                        MainGame.loadGame();
                        break;
                    case 2: // Quit
                        MainGame.quitGame();
                        break;
                }
            }
        }

    }