public override void Call(Pot pot) { int cost = pot.Call(this); if (cost > 0){ QueueAction(new BetAction(actor, "I call.", pot), true); } else { QueueAction(new NoBetAction(actor, "I call."), true); } stack -= cost; busy = true; }
public override void Fold(Pot pot) { betting = false; if (pot.GetCallCost(this) > 0){ pot.Fold(this); } else { pot.Call(this); } }
public override void Call(Pot pot) { betting = false; stack -= pot.Call(this); pot.UpdateChips(); }