Deck
Represents a set of cards which holds all the available card types of a deck.
Constructor Summary
Public Constructor | ||
public |
constructor(cardSuitTypes: number, cardRankTypes: number) Creates a new card deck with a specific amount of cards available. |
Member Summary
Public Members | ||
public get |
Gets the amount of different card rank types in the deck. |
|
public get |
Gets the amount of different card suit types in the deck. |
|
public get |
Gets the amount of all the available card types in the deck. |