public override void SetPunter(CockBet c**k, int cash, RadioButton radioButton, Label label) { MyCockBet = c**k; Cash = cash; mrdbtn = radioButton; mlbl = label; }
//public Button MyButton; public CockClient(string Name, CockBet MyCockBet, int Cash, RadioButton mrdbtn, Label mlbl) //this is constructor { this.Name = Name; this.MyCockBet = MyCockBet; this.Cash = Cash; this.mrdbtn = mrdbtn; this.mlbl = mlbl; }
public bool PlaceCockBet(int Amount, int Bike)//this function is for placing the CockBet { if (Amount <= Cash) { //mlbl.Text = "Busted"; MyCockBet = new CockBet(Amount, Bike, this); return(true); } return(false); }
public abstract void SetPunter(CockBet c**k, int cash, RadioButton radioButton, Label label);