class_name PuzzleManager extends Node signal finish_room @export var mandatory_puzzles: Array[Puzzle] @export var optional_puzzles: Array[Puzzle] func _process(delta): pass func is_room_finished() -> bool: for puzzle in mandatory_puzzles: if !puzzle.is_complete: return false return true