@SuppressWarnings("unused")
	@Override
	/** When you click on a specific button it goes to a specific tutorial
	 * @param arg0 the action event which triggers actionPerformed and contains the information
	 */
	public void actionPerformed(ActionEvent arg0)
	{

		String id = "";
		if (arg0.getSource() == rules)
		{
			id += "p";

		}
		if (arg0.getSource() == territories)
		{
			id += "c";
		}
		if (arg0.getSource() == endGame)
		{
			id += "s";
		}
		if (arg0.getSource() == capturing)
		{
			id += "i";
		}
		if (arg0.getSource() == generalPlay)
		{
			id += "u";
		}
		String blank;
		if (id.equals(""))
		{

			// add code to start the game, or to go back to the start menu. I lean more towards the
			// start menu.

			JOptionPane.showMessageDialog(null, "Okay, time to play, just close this window and select your game mode to get started.");

		}

		setVisible(true);
		try
		{
			Desktop.getDesktop().browse(URI.create(map.get(id)));
		}
		catch (IOException e)
		{
			e.printStackTrace();

		}
	}