chore: run gdformat

This commit is contained in:
2025-08-20 04:47:49 +02:00
parent 702080af59
commit c7c4eb574e
12 changed files with 47 additions and 13 deletions

View File

@@ -1,15 +1,19 @@
class_name LevelUpUI
extends Control
@onready var choice_container: HBoxContainer = $VBoxContainer/PanelContainer/CenterContainer/ChoiceContainer
@onready
var choice_container: HBoxContainer = $VBoxContainer/PanelContainer/CenterContainer/ChoiceContainer
func clear():
for child in choice_container.get_children():
child.queue_free()
func add_choice(choice: LevelUpChoice) -> void:
choice.lvlup_picked.connect(_on_levelup_picked)
choice_container.add_child(choice)
func _on_levelup_picked(mod: PlayerStatsModifier) -> void:
visible = false