public void FoldRequest() { listener = new FoldCommand(); }
public void CheckRequest() { listener = new CheckCommand(); }
public IPokerCommand TakeAction(Table data, Func<bool> stopIndicator) { listener = null; while (listener == null) { if (stopIndicator()) { return new FoldCommand(); } } return listener; }
public void CallRequest() { listener = new CallCommand(); }
public void RaiseRequest() { listener = new RaiseCommand(ViewModel.RaiseAmount); }