protected void setSettings() {
		if (this.checkbox.isSelected()) {
			this.gameType = GameType.TIMED_GAME;
			this.time = (int)this.timeSpinner.getValue();
		} else {
			this.gameType = GameType.NORMAL;
			this.time = 0;
		}
		if (this.p1.getSelectedItem().equals("Human")) {
			this.difficulty1 = Difficulty.HUMAN;
		} else if (this.p1.getSelectedItem().equals("Easy AI")) {
			this.difficulty1 = Difficulty.EASY;
		} else if (this.p1.getSelectedItem().equals("Medium AI")) {
			this.difficulty1 = Difficulty.MEDIUM;
		} else {
			this.difficulty1 = Difficulty.HARD;
		} 
		if (this.p2.getSelectedItem().equals("Human")) {
			this.difficulty2 = Difficulty.HUMAN;
		} else if (this.p2.getSelectedItem().equals("Easy AI")) {
			this.difficulty2 = Difficulty.EASY;
		} else if (this.p2.getSelectedItem().equals("Medium AI")) {
			this.difficulty2 = Difficulty.MEDIUM;
		} else {
			this.difficulty2 = Difficulty.HARD;
		}
	}