public Guy(string Name, int Cash, RadioButton MyRb, Label MyLabel) { name = Name; cash = Cash; myRadioButton = MyRb; myLabel = MyLabel; myBet = new Bet(this); this.UpdateLabels(); }
public bool PlaceBet(int BetAmount, int DogToWin) { if (BetAmount <= cash) { myBet = new Bet(BetAmount, DogToWin, this); UpdateLabels(); return true; } else { return false; } }
public void ClearBet() { myBet = new Bet(this); UpdateLabels(); }