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")