private void setCharacter(int character)
	{
		if ((character == 10 && state.getCharacter() == 12) || (state.getCharacter() == 12 && character == 10))
		{
			System.out.println("Nan");
			setText("Mario refuses to face Nan.\nPlease choose another character.");
		}
		else if ((character == 1 && state.getCharacter() == 12) || (state.getCharacter() == 12 && character == 1))
		{
			setText("Mario would automatically win.\nPlease choose another character.");
		}
		else if (character != state.getCharacter())
		{
			state.setCharacter(character);
			state.setWaiting(false);
			exit();
			//System.out.println(state.isWaiting());
		}
		else
		{
			setText("Character taken.\nPlease choose another character.");
		}
	}