@Override
		public void actionPerformed(ActionEvent e)
		{
			if (raceSelectPanel.getSelectedRace() != null
					&& colorChooseBox.getColorChosen() != null
					&& !txtEnterPlayerName.getText().equals("") )
			{
				Controller controller = Controller.getController();
				Iterator iterator = Iterator.getIterator();

				controller.createPlayer(txtEnterPlayerName.getText(),
						colorChooseBox.getColorChosen(),
						raceSelectPanel.getSelectedRace());
				colorChooseBox.removeColorFromChoices(); // remove the color chosen from the list of options

				if (players_created < controller.getNumPlayers()) // if it is the last player that needs to be created,
																	// switch to Map
				{
					iterator.switchScreen(new PlayerSelectScreen());
				}

				else
				{
					Controller.getController().startGame();
					// iterator.startGame();
					// iterator.switchScreen(new Map()); //change this to the Map Screen class
				}
			}

			else
			{
				JOptionPane.showMessageDialog(null,
						"You must fill out all options!");
			}

		}