Data Fields | |
| DSSuit | suit = DSSuit.None |
| int | rank = 0 |
| int | value = 0 |
This script keeps game specific data for a card.
Data provided in this script is related to traditional playing cards.
If your game requires more, either add it to this script or just remake it in your image.
| int DeckStacker.DSCardData.rank = 0 |
Stores the rank value of the associated card.
Rank = the number of the card.
Face cards are defined as:
| DSSuit DeckStacker.DSCardData.suit = DSSuit.None |
Stores the suit of the associated card.
| int DeckStacker.DSCardData.value = 0 |
Value is not used in DeckStacker, explicitly, but is here as a generic placeholder for a value that is independent of rank.