Example #1
0
 public bool Check(Player currentClient)
 {
     return false;
 }
Example #2
0
 public void Sync(Player owner, string word)
 {
     foreach (Player player in players)
     {
         if (owner != player)
         {
             player.RootGrid.Children.OfType<Label>().Where(t => t.Tag as string == "city_lbl").FirstOrDefault().Content = word;
             player.RootGrid.Children.OfType<TextBox>().Where(t => t.Tag as string == "city_input").FirstOrDefault().Text = "";
         }
     }
 }