public PlaySequence(Contract bidResult, int tricksRemaining) : this() { if (bidResult == null) { throw new ArgumentNullException("bidResult"); } finalContract = bidResult; declarer = finalContract.Declarer; declarersPartner = declarer.Partner(); whoseTurn = declarer.Next(); leadSuit = Suits.NoTrump; remainingTricks = (byte)tricksRemaining; }
public bool IsLeader(Seats x) { return(x == Declarer || x.Partner() == Declarer); }