private void winTrick() {
		// Examine cardsPlayed pile and determine which player won the trick.
		int winnerIndex = determineWinner();
		
		// Change firstToPlay to be the index of the player who won the trick.
		this.firstToPlayIndex = winnerIndex;
		
		// Show each player who won the trick and which cards were played in the
		// trick (call endTrick on each player).
		for(int i = 0; i < PLAYER_COUNT; i++) {
			IPlayer playerInstance = this.players[i].getPlayer();
			playerInstance.endTrick(this.cardsPlayed, winnerIndex);
		}
		
		// Move cards in cardsPlayed pile to the TricksWon pile of the player
		// who won.
		Pile winnerTricksWonPile = this.players[winnerIndex].getTricksWonPile();
		while(this.cardsPlayed.getNumCards() > 0) {
			Card removedCard = this.cardsPlayed.removeCard(0);
			winnerTricksWonPile.addCard(removedCard);
		}
		
		// Log our winner
		String tempParts = this.players[(winnerIndex)].getPlayer().getClass().getName().replaceAll("skatgame.", "");
		this.roundStats.log("Trick won by Player " + (tempParts), this.indentationLevel);
	}