Static Public Member Functions | |
static List< DSCard > | MakeTraditionalDeck (DSCardPool cardPool_, DSStack targetStack_, bool jokers_, int deckID_=0) |
static string | GetTraditionalRankName (int rank_) |
static DSCard | MakeTraditionalCard (DSCardPool cardPool_, DSStack targetStack_, int rank_, DSSuit suit_, int iterationNum_=0) |
static DSCard | MakeTraditionalJoker (DSCardPool cardPool_, DSStack targetStack_, int jokerNum_, int iterationNum_=0) |
This script create a "traditional deck of card".
Traditional cards are the western-style 2-10, Jack, Queen, King, and Ace cards you find in just about any drugstore or game shop in the USA.
|
inlinestatic |
Converts an int into a string, accounting for face cards as ranks 11 through 14. (Jack, Queen, King, and Ace)
|
inlinestatic |
Returns a traditional card, in the DeckStacker system, grabbed from the specified card pool.
|
inlinestatic |
Uses DeckStacker systems to create a traditional deck of cards.
The jokers bool will determine if jokers are added to the deck.
deckID will add that number to each card's name, uniquely identifying each card, even between identical decks.
|
inlinestatic |
A variant of the MakeTraditionalCard() method, but for Joker cards, since their data doesn't fit neatly into the same structure.