OptionalautoOptionalautoIndicate if the cards under the new top card must be removed (to forbid players to check the content of the deck with Inspect). Default true.
OptionalautoIndicate if the card count is automatically updated when a card is added or removed.
OptionalcardThe filter on card click event. Use setting from manager is unset.
OptionalcardIndicate the current number of cards in the deck (default 0).
OptionalcounterShow a card counter on the stock. Not visible if unset.
OptionalfakeA generator of fake cards, to generate decks top card automatically.
Default is manager fakeCardGenerator method.
OptionallastThe style to apply to the last played card. Default to class 'bga-cards_last-played-card'.
OptionalselectableThe style to apply to selectable cards. Use style from manager is unset.
OptionalselectedThe style to apply to selected cards. Use style from manager is unset.
OptionalshadowShadow direction. Default 'bottom-right'.
OptionalsortIndicate the card sorting (unset means no sorting, new cards will be added at the end).
For example, use sort: sortFunction('type', '-type_arg') to sort by type then type_arg (in reversed order if prefixed with -).
Be sure you typed the values correctly! Else '11' will be before '2'.
OptionalthicknessesIndicate the thresholds to add 1px to the thickness of the pile. Default [0, 2, 5, 10, 20, 30].
OptionaltopIndicate the current top card.
OptionalunselectableThe style to apply to selectable cards. Use style from manager is unset.
Say if a given card should be placed on this stock, based on card properties. For example, every card with location === 'hand' and location_arg == this.player_id should go to the current player hand. If unset, all cards on this stock must be added manually on this stock.