summaryrefslogtreecommitdiff
path: root/Scripts/ModifierLabel.gd
diff options
context:
space:
mode:
Diffstat (limited to 'Scripts/ModifierLabel.gd')
-rw-r--r--Scripts/ModifierLabel.gd9
1 files changed, 9 insertions, 0 deletions
diff --git a/Scripts/ModifierLabel.gd b/Scripts/ModifierLabel.gd
new file mode 100644
index 0000000..1a2ed2e
--- /dev/null
+++ b/Scripts/ModifierLabel.gd
@@ -0,0 +1,9 @@
+extends Label
+
+func pop(txt : String):
+ visible = true
+ text = txt
+ $"Timer".start()
+
+func _on_timer_timeout():
+ visible = false