/// <summary> /// Creates a playing card. /// </summary> /// <param name="options">The options on how cards are played.</param> /// <param name="suit">The suit of the card.</param> /// <param name="rank">The rank of the card.</param> internal PlayingCard(PlayingCardOptions options, PlayingCardSuit suit, PlayingCardRank rank) { Rank = rank; Suit = suit; Options = options; }
/// <summary> /// Creates a deck of playing cards. /// </summary> /// <param name="options">The options used to create the deck.</param> /// <param name="doInitialize">Whether or initialize this deck's contents or not.</param> public StandardCardDeck(PlayingCardOptions options, bool doInitialize = true) : base(options, doInitialize) { }