added radio and new blank cassette system
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
class_name CardSelectionBox
|
||||
extends Control
|
||||
|
||||
var card: Card
|
||||
@export var icon: TextureRect
|
||||
@export var tags: VBoxContainer
|
||||
@export var cost_label: Label
|
||||
@@ -14,6 +15,7 @@ func set_amount(num: int) -> void:
|
||||
|
||||
|
||||
func set_card(card: Card) -> void:
|
||||
self.card = card
|
||||
icon.texture = card.icon
|
||||
cost_label.text = str(card.cost)
|
||||
for i: int in tags.get_child_count():
|
||||
|
||||
@@ -77,6 +77,5 @@ offset_top = 100.0
|
||||
offset_right = 25.0
|
||||
offset_bottom = 150.0
|
||||
bbcode_enabled = true
|
||||
text = "[img=top,50]/home/lexi/godot/multiplayer_tower_defense/UI/Keybinding/XeluController&KeyPrompts/Keyboard & Mouse/Light/1_Key_Light.png[/img]"
|
||||
fit_content = true
|
||||
vertical_alignment = 2
|
||||
|
||||
Reference in New Issue
Block a user