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