From a3e592f97f23914b287eb4adfb9ec66469b1953e Mon Sep 17 00:00:00 2001 From: mightypanders Date: Sat, 12 Jun 2021 02:28:16 +0200 Subject: [PATCH] receive a signal --- World.gd | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 World.gd diff --git a/World.gd b/World.gd new file mode 100644 index 0000000..aa00cbf --- /dev/null +++ b/World.gd @@ -0,0 +1,18 @@ +extends Node2D + + +# Declare member variables here. Examples: +# var a = 2 +# var b = "text" + +func _on_Guest_picked_up(destinationColor,name): + print('Picked Up %s with name %s' % [destinationColor,name]) + +# Called when the node enters the scene tree for the first time. +func _ready(): + pass # Replace with function body. + + +# Called every frame. 'delta' is the elapsed time since the previous frame. +#func _process(delta): +# pass