private void UpdateForm()
 {
     cards.Items.Clear();
     foreach (string cardName in game.GetPlayerCardNames())
     {
         cards.Items.Add(cardName);
     }
     gameBooks.Content     = game.DescribeBooks();
     gameProgress.Content += game.DescribePlayerHands() + Environment.NewLine;
     gameProgress.ScrollToEnd();
 }
Exemplo n.º 2
0
 private void UpdateForm()
 {
     listHand.Items.Clear();
     foreach (String cardName in game.GetPlayerCardNames)
     {
         listHand.Items.Add(cardName);
     }
     textBooks.Text              = game.DescribeBooks();
     textProgress.Text          += game.DescribePlayerHands();
     textProgress.SelectionStart = textProgress.Text.Length;
     textProgress.ScrollToCaret();
 }
Exemplo n.º 3
0
 private void UpdateForm()
 {
     LbHand.Items.Clear();
     foreach (var card in  game.GetPlayerCards())
     {
         LbHand.Items.Add(card);
     }
     TbBooks.Text                += game.DescribeBooks();
     TbGameProcess.Text          += game.DescribePlayerSteps();
     TbGameProcess.SelectionStart = TbGameProcess.Text.Length;
     TbGameProcess.ScrollToEnd();
 }