//coding for collecting the money public void CollectYouMoney(int Winner) { if (this.CurrentBet != null) { Cash += CurrentBet.PayOut(Winner); Reset(); UpdateLabels(); } }
//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(); }