diff options
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 |