forked from External/mage
* Added possibility to allow other players to see hand cards of player.
This commit is contained in:
parent
d0e1107a3e
commit
7e145d2cfd
33 changed files with 1093 additions and 190 deletions
|
|
@ -66,7 +66,7 @@ public class GameEndView implements Serializable {
|
|||
int winner = 0;
|
||||
Player you = null;
|
||||
for (Player player: state.getPlayers().values()) {
|
||||
PlayerView playerView = new PlayerView(player, state, game, playerId);
|
||||
PlayerView playerView = new PlayerView(player, state, game, playerId, null);
|
||||
if (playerView.getPlayerId().equals(playerId)) {
|
||||
clientPlayer = playerView;
|
||||
you = player;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue