new Card(face, color)
Class that stores the current information about a particular card. All
cards with the same color and face value are represented here using the
`count` attribute.
Parameters:
Name | Type | Description |
---|---|---|
face |
CardFace | The face value or type of card this is. |
color |
Color | The color of this card. |
Members
-
color :Uno.Color
-
The color of this card.
Type:
- Uno.Color
-
face :Uno.CardFace
-
The face value of this card.
Type:
- Uno.CardFace
-
<private, inner, nullable> myName :string
-
The name of this card retreivable with `toString()`. Null until first `toString()` call.
Type:
- string