the BGA game class, usually it will be this
Private settingsPrivate stocksPrivate updatePrivate updatePrivate updateFlips the card.
the card informations
Optional settings: FlipCardSettingsthe flip params (to update the card in current stock)
the card informations
the HTML element of an existing card
the card informations
the id for a card
Return if the card passed as parameter is suppose to be visible or not.
Use isCardVisible from settings if set, else will check if card.type is defined
the card informations
the visiblility of the card (true means front side should be displayed)
Remove a card.
the card to remove
Optional settings: RemoveCardSettingsa RemoveCardSettings object
Set the card to its front (visible) or back (not visible) side.
the card informations
Optional visible: booleanif the card is set to visible face. If unset, will use isCardVisible(card)
Optional settings: FlipCardSettingsthe flip params (to update the card in current stock)
Update the card informations. Used when a card with just an id (back shown) should be revealed, with all data needed to populate the front.
the card informations
Optional settings: Omit<FlipCardSettings, "updateData">Generated using TypeDoc
the BGA game class, usually it will be
this