public void actionPerformed (ActionEvent e)
		{
			// Runs everything the current menu wants to run
			currentMenu.run();
			// If the menu has completed, and it is time to move on to another,
			// switch the current menu to whatever the next menu is
			if (currentMenu.isComplete())
			{
				// If the game is starting, start the game music
				if (sound && currentMenu != pauseMenu && currentMenu.nextMenu == gameScreen)
				{
					menuMusic.stop();
					gameMusic.loop();
				}
				// If the game is ending, start the menu music
				else if (sound && ((currentMenu == gameScreen && currentMenu.nextMenu != pauseMenu) ||
						(currentMenu == pauseMenu && currentMenu.nextMenu != gameScreen)))
				{
					gameMusic.stop();
					menuMusic.loop();
				}
				currentMenu = currentMenu.nextMenu;
				currentMenu.reset();
			}
			// Draw everything once all necessary data has been changed
			this.repaint();
		}