This commit is contained in:
Michele Rossi
2026-03-13 00:36:52 +01:00
parent e019b4b90a
commit 246cf6a05f
12 changed files with 549 additions and 126 deletions

21
currency_tile.tscn Normal file
View File

@@ -0,0 +1,21 @@
[gd_scene format=3 uid="uid://btkxru2gdjsgc"]
[ext_resource type="Script" uid="uid://sp67wcb6s5nw" path="res://currency_label.gd" id="1_0hv07"]
[node name="CurrencyTile" type="HBoxContainer" unique_id=1440583137]
theme_override_constants/separation = 12
script = ExtResource("1_0hv07")
[node name="Label" type="Label" parent="." unique_id=89234840]
layout_mode = 2
text = "Gold:"
[node name="CurrencyValueLabel" type="Label" parent="." unique_id=1469960585]
layout_mode = 2
text = "0"
[node name="DebugIncomeButton" type="Button" parent="." unique_id=662695248]
layout_mode = 2
text = "+100 Gold"
[connection signal="pressed" from="DebugIncomeButton" to="." method="_on_debug_income_button_pressed"]