singlecard

Vars | |
blank | The card is blank and can be written on with a pen. |
---|---|
cardname | The name of the card |
deckstyle | Artistic style of the deck |
flipped | Is the card flipped facedown (FALSE) or flipped faceup (TRUE) |
has_unique_card_icons | If the cards in the deck have different icon states (blank and CAS decks do not) |
marked_color | The color used to mark a card for cheating (by pens or crayons) |
Procs | |
Flip | Flips the card over |
getMarkedColor | Returns a color if a card is marked and the user can see it |
Var Details
blank

The card is blank and can be written on with a pen.
cardname

The name of the card
deckstyle

Artistic style of the deck
flipped

Is the card flipped facedown (FALSE) or flipped faceup (TRUE)
has_unique_card_icons

If the cards in the deck have different icon states (blank and CAS decks do not)
marked_color

The color used to mark a card for cheating (by pens or crayons)
Proc Details
Flip
Flips the card over
- Arguments:
- orientation (optional) - Sets flipped state to CARD_FACEDOWN or CARD_FACEUP if given orientation (otherwise just invert the flipped state)
getMarkedColor
Returns a color if a card is marked and the user can see it
- Arguments:
- user - We need to check if the user see the marked card