Deck
in package
Deck of Blackjack cards to be drawn from.
Table of Contents
Constants
Properties
- $cardIDs : array<string|int, int>
Methods
- __construct() : mixed
- drawCard() : Card
- Draw a random card from this deck.
Constants
MAX_CARDS
public
mixed
MAX_CARDS
= 52 * self::NUM_DECKS
NUM_DECKS
public
mixed
NUM_DECKS
= 1
Properties
$cardIDs
private
array<string|int, int>
$cardIDs
Methods
__construct()
public
__construct() : mixed
drawCard()
Draw a random card from this deck.
public
drawCard() : Card