diff options
author | Daniel Weipert <git@mail.dweipert.de> | 2024-11-06 12:27:51 +0100 |
---|---|---|
committer | Daniel Weipert <git@mail.dweipert.de> | 2024-11-06 12:27:51 +0100 |
commit | 6f17d6c1d458275e8744d57a7f433cc3eb5434d7 (patch) | |
tree | 588434069b86aa079a0b36c78367dfb14003321e /UI/tower_configuration.gd | |
parent | c8f674ac6fa0914d9e448d2929f2385cdad80d60 (diff) |
next commit
Diffstat (limited to 'UI/tower_configuration.gd')
-rw-r--r-- | UI/tower_configuration.gd | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/UI/tower_configuration.gd b/UI/tower_configuration.gd index 7031de5..302a0ac 100644 --- a/UI/tower_configuration.gd +++ b/UI/tower_configuration.gd @@ -3,6 +3,12 @@ extends PanelContainer var is_hovered = false +@export var cost := 5 + + +func _ready() -> void: + tooltip_text = "Cost: " + str(cost) + func _on_mouse_entered() -> void: is_hovered = true |