Esempio n. 1
0
 //coding for collecting the money
 public void CollectYouMoney(int Winner)
 {
     if (this.CurrentBet != null)
     {
         Cash += CurrentBet.PayOut(Winner);
         Reset();
         UpdateLabels();
     }
 }
Esempio n. 2
0
 //this method is used for collection of the player if he is winner then it will increment in his account
 public void Collect(string Winner)
 {
     if (MyBet != null)
     {
         Cash = Cash + MyBet.PayOut(Winner);
     }
     ClearBet();
     StatusUpdate();
 }