public GameData() { for (int i = 0; i < 4; i++) { player[i] = new Player(); player[i].num = i; } }
private void OnDiscard(Player player, Tile tile) { if (player.num == 0) { Console.WriteLine("discard {0}", tile.Name); Console.WriteLine(client.GameData.hand.tile.ToString(" ", (handTile) => handTile.Name)); } }