| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -14,7 +14,7 @@ func _ready() -> void: | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						Input.mouse_mode = Input.MOUSE_MODE_CAPTURED | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						EntityManager.create_block.connect(_create_block.bind()) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						EntityManager.drop_block.connect(_create_dropped_block.bind()) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						EntityManager.clear_blocks.connect(_on_clear_blocks.bind()) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						EntityManager.reset_world.connect(_on_reset_world.bind()) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						EntityManager.spawn_player.connect(_spawn_player.bind()) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						_initialize_ground() | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -63,7 +63,7 @@ func _initialize_ground() -> void: | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									EntityManager.create_block.emit("002", ground_position) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					## Generally for resetting/emptying the world to allow for load_game | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					func _on_clear_blocks() -> void: | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					func _on_reset_world() -> void: | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						for block: Block in blocks_container.get_children(): | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							block.queue_free() | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |