summaryrefslogtreecommitdiff
path: root/components/Level.gd
blob: 94f918a9aed788b612b8f61379111351064a6435 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
extends Node2D

class_name Level
signal lost_heart()
signal level_finished()


func start():
	print("Level ", name, " starting.")

func lose_heart():
	emit_signal("lost_heart")

func finish_level():
	emit_signal("level_finished")