Seat number chosen goes to player as a message now.

This commit is contained in:
marcins78@gmail.com
2011-12-15 19:19:37 +00:00
parent 6a095e9d1e
commit f9ccf3d2f5

View File

@@ -74,7 +74,9 @@ public class ChooseSeatingOrderGameProcess implements GameProcess {
new MultipleChoiceAwaitingDecision(1, "Choose a seat number at the table", emptySeatNumbers) {
@Override
protected void validDecisionMade(int index, String result) {
participantHasChosenSeat(game, playerId, Integer.parseInt(result));
int seatNo = Integer.parseInt(result);
game.getGameState().sendMessage(playerId + " chosen seat number " + seatNo);
participantHasChosenSeat(game, playerId, seatNo);
}
}
);