From 6f17d6c1d458275e8744d57a7f433cc3eb5434d7 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Wed, 6 Nov 2024 12:27:51 +0100 Subject: next commit --- UI/tower_configuration.gd | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'UI/tower_configuration.gd') 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 -- cgit v1.2.3