예제 #1
0
 private void FinishRound(ResultGame res)
 {
     _gamer.State    = StatusPlayer.Play;
     _croupier.State = StatusPlayer.Play;
     _gamer.GiveBackCards();
     _croupier.GiveBackCards();
     if (res == ResultGame.Draw)
     {
         PrintInfo.PrintResult(ResultGame.Draw);
     }
     if (res == ResultGame.Loss)
     {
         _gamer.Loss += 1;
         PrintInfo.PrintResult(ResultGame.Loss);
     }
     if (res == ResultGame.Win)
     {
         _gamer.Win += 1;
         PrintInfo.PrintResult(ResultGame.Win);
     }
 }