diff options
Diffstat (limited to 'game/src/GameSession/ProvinceOverviewPanel.gd')
-rw-r--r-- | game/src/GameSession/ProvinceOverviewPanel.gd | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/game/src/GameSession/ProvinceOverviewPanel.gd b/game/src/GameSession/ProvinceOverviewPanel.gd new file mode 100644 index 0000000..f68ac73 --- /dev/null +++ b/game/src/GameSession/ProvinceOverviewPanel.gd @@ -0,0 +1,13 @@ +extends Panel +@export var ProvinceID: String = "ID not loaded" + +# Called when the node enters the scene tree for the first time. +func _ready(): + set_id() + +func set_id(): + $VBoxContainer/ProvinceName.text = str(ProvinceID)+"_NAME" + + +func _on_button_pressed(): + queue_free() |