@Override
	public void actionPerformed(ActionEvent e) {
		if (e.getSource() == startMissionButton) {
			if(Board.getInstance().getTurn().getTurnType()==null){	
				Board.getInstance().initTurn();
			}
			
			TileContainerPanel.setBetable(true);
			for (TilePanel panel : TileContainerPanel.getTilePanels()) {
				panel.notBetable();
			}
			Board.getInstance().getTurn().startMission();
		} 
		else if (e.getSource()==challengeButton){
			String opp=teamChosen();
			Board.getInstance().getTurn().setTempOpp(opp);
			Board.getInstance().getTurn().setTurnType();
			currentPanel=startButtons;
			setPanel();
		}
		else if (e.getSource()==setScoreButton){
			int score=(Integer)scoreCombo.getSelectedItem();
			Board.getInstance().getTurn().getTurnType().setScore(score);
			if(Board.getInstance().getTurn().isTurnOver()){
				Board.getInstance().newTurn();
			}
			else
			currentPanel=startButtons;
			setPanel();
		}
		else if (e.getSource() == doneButton) {		//mission shall end
			Board.getInstance().stopMission();
		} 
		else if (e.getSource() == yesButton) {	//turn shall end
			Board.getInstance().getTurn().finishTurn(true);
			Board.getInstance().newTurn();
			
		} 
		else if (e.getSource() == noButton) {		//turn shall end
			Board.getInstance().getTurn().finishTurn(false);
			Board.getInstance().newTurn();

			

		}
	}