-
-
Notifications
You must be signed in to change notification settings - Fork 107
DBDeckCardObject
Divided by Zer0 edited this page Mar 9, 2022
·
5 revisions
Extends: HBoxContainer
An object displaying a card summary in the Deckbuilder's deck cards area and providing controls to adjust their quantity..
var quantity: int
The quantity of a specific card in the deck. Placed in a label
var card_name: String
The quantity of a specific card in the deck. Placed in a label The card name which is displayed in the summary
func setup(_card_name: String, count: int) -> var
This is used to prepare the values of this object
func set_quantity(value) -> void
Updates the Quantity label and variable
- signal quantity_changed(value): Sent when the user changes a card quantity directly from the deck area.