* Added possibility to allow other players to see hand cards of player.

This commit is contained in:
LevelX2 2014-11-24 23:03:21 +01:00
parent d0e1107a3e
commit 7e145d2cfd
33 changed files with 1093 additions and 190 deletions

View file

@ -114,10 +114,10 @@ public class GameManager {
}
}
public void sendPlayerAction(PlayerAction playerAction, UUID gameId, UUID userId) {
public void sendPlayerAction(PlayerAction playerAction, UUID gameId, UUID userId, Object data) {
GameController gameController = gameControllers.get(gameId);
if (gameController != null) {
gameController.sendPlayerAction(playerAction, userId);
gameController.sendPlayerAction(playerAction, userId, data);
}
}