adding end
This commit is contained in:
parent
77adcea952
commit
8c8ad0d451
1 changed files with 8 additions and 0 deletions
8
scripts/PortailDeFin.gd
Normal file
8
scripts/PortailDeFin.gd
Normal 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()
|
Reference in a new issue