MasterDeck class cards
MasterDeck | wiki
A static object that describes the properties of a new deck of cards for a certain game.
For example, the "English" master deck has 52 cards, no jokers, aces are
high, and no duplicate cards are allowed. The "Canasta" deck has 108 cards
including jokers and duplicates. Since this is all unchanging information,
MasterDeck.byName()
just returns a pointer to an existing static object
based on the name you pass in.
Constructors
- MasterDeck.byName(String dname)
-
Get a MasterDeck object by name or alias.
factory
Properties
Methods
-
has(
Card c) → bool - Does this deck contain the given card?
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited