Ejemplo n.º 1
0
 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;
 }
Ejemplo n.º 2
0
 public bool IsLeader(Seats x)
 {
     return(x == Declarer || x.Partner() == Declarer);
 }