Esempio n. 1
0
 public void LoadNewMode(Spelmode sm, List<Speler> team, KaartSoort troef)
 {
     StackPanelModes.Children.Clear();
     StackPanelModes.Children.Add(new TextBlock() { Text = sm.Name });
     string tm = "Team:";
     foreach (Speler s in team)
         tm += " " + s.Name;
     StackPanelModes.Children.Add(new TextBlock() { Text = tm });
     StackPanelModes.Children.Add(new TextBlock() { Text = "Troef: " + troef.Naam });
 }
Esempio n. 2
0
 public Kaart(int nummer, KaartSoort soort)
 {
     this.Nummer = nummer;
     this.Soort = soort;
 }
Esempio n. 3
0
 public void ReceiveWinnerMode(Spelmode sm, List<Speler> team, KaartSoort troef)
 {
     App.Current.Dispatcher.BeginInvoke(new Action(() =>
     {
         GameWindow.LoadNewMode(sm, team, troef);
     }));
 }