summaryrefslogtreecommitdiff
path: root/components/Level.gd
diff options
context:
space:
mode:
Diffstat (limited to 'components/Level.gd')
-rw-r--r--components/Level.gd10
1 files changed, 10 insertions, 0 deletions
diff --git a/components/Level.gd b/components/Level.gd
index 135a2cf..c3cb338 100644
--- a/components/Level.gd
+++ b/components/Level.gd
@@ -1,6 +1,16 @@
extends Node2D
class_name Level
+signal lost_heart()
+signal level_finished()
+
func start():
print("Level starting.")
+
+func lose_heart():
+ emit_signal("lost_heart")
+
+func finish_level():
+ emit_signal("level_finished")
+