class_name Brique extends StaticBody2D const EclatementScene: PackedScene = preload("res://effets/eclatement_brique/eclatement_brique.tscn") func frapper(nb: int) -> void: queue_free() var effet_eclatement: Node2D = EclatementScene.instantiate() effet_eclatement.position = self.position add_sibling(effet_eclatement)