public static void inventoryScreen(Player player) {
        String inventoryString = "";
        for(Item i : player.inventory) {
            if(i instanceof Potion) {
                inventoryString += "Potion: " + "Life: " + ((Potion) i).getHealAmount() +
                        ", Mana: " + ((Potion) i).getManaAmount() + "\n";
            }
        }
        JOptionPane.showMessageDialog(null, inventoryString);
    }