Exemplo n.º 1
0
 private void FinnishGame()
 {
     if (g.IsGameOver(ppl, s) == true)
     {
         g.RegPlayer();
         this.Hide();
         Finnish f = new Finnish(g, logType);
         f.ShowDialog();
     }
 }
Exemplo n.º 2
0
 public void AddToScoreBoard(List <Player> player)
 {
     foreach (Player y in player)
     {
         Finnish f = new Finnish()
         {
             name  = y.name,
             total = y.total
         };
         endScore.Add(f);
     }
 }