extends Node


@onready var choix_niveau: Node = find_parent("ChoixNiveau")


func _ready() -> void:
	for child in get_children():
		assert(child is Planete, "Seules les planetes sont autorisees dans le systeme")
		var planete: Planete = child as Planete
		planete.niveau_choisi.connect(choix_niveau.demarrer_niveau)