private void UpdateGameState(AgricolaGame game, IClientGameUpdate update) { foreach (var player in game.AgricolaPlayers) { if (!game.FamilyMode) { update.MyHand = player.Hand; } Clients.Client(player.Player.ConnectionId.ToString()).update(update); } }
public AgricolaPlayer(AgricolaGame game, Player player) : base((IGame <GameHub>)game, player) { InitializeState(); }