mirror of
				https://github.com/mightypanders/GMTKJam2021.git
				synced 2025-11-04 02:59:50 +01:00 
			
		
		
		
	receive a signal
This commit is contained in:
		
							
								
								
									
										18
									
								
								World.gd
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								World.gd
									
									
									
									
									
										Normal file
									
								
							@@ -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
 | 
				
			||||||
		Reference in New Issue
	
	Block a user