You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
	
	
		
			
	
		
		
			
				
				
					
						
						
						
							|  | extends Action
 | 
						
						
						
							|  | class_name ActionWait
 | 
						
						
						
							|  | 
 | 
						
						
						
							|  | @export var wait_time : float
 | 
						
						
						
							|  | var wait_time_left : float
 | 
						
						
						
							|  | 
 | 
						
						
						
							|  | func run(character: Character) -> int:
 | 
						
						
						
							|  | 	wait_time_left += get_physics_process_delta_time()
 | 
						
						
						
							|  | 	if wait_time_left >= wait_time:
 | 
						
						
						
							|  | 		wait_time_left = 0
 | 
						
						
						
							|  | 		return SUCCESS
 | 
						
						
						
							|  | 	return RUNNING
 |