Esempio n. 1
0
 /**
  * Must not be used for TrumpfMode.TRUMPF!
  */
 public Trumpf(TrumpfMode mode)
 {
     Preconditions.CheckNotNull(mode);
     Preconditions.CheckArgument(!TrumpfMode.TRUMPF.Equals(mode));
     Mode = mode;
     Suit = null;
 }
Esempio n. 2
0
 public Trumpf(TrumpfMode mode, Suit suit)
 {
     Preconditions.CheckNotNull(mode);
     Mode = mode;
     Suit = suit;
 }