public void endMatch(Player victor) {
		inProgress = false;
		if (victor == null) {
			System.out.println("A draw has occurred.");
		} else {
			System.out.println(victor.getTheme().toString()+" is victorious.");
		}
		cancelCurrentAction();
		panel.endMatch();
		board.repaint();
		//TODO: Display victory on the match panel.
		//TODO: Add a button for going back to the title screen.
		//TODO: dispose() of the match panel when returning to the title screen (elsewhere.)
	}