adding end

This commit is contained in:
Mylloon 2021-04-07 21:07:47 +02:00
parent 77adcea952
commit 8c8ad0d451

8
scripts/PortailDeFin.gd Normal file
View file

@ -0,0 +1,8 @@
extends Area2D
func _ready():
pass
func _on_Portail_de_fin_body_entered(body):
if "Joueur" in body.name:
get_tree().quit()