12 lines
		
	
	
		
			195 B
		
	
	
	
		
			GDScript
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			195 B
		
	
	
	
		
			GDScript
		
	
	
	
	
	
extends Node3D
 | 
						|
 | 
						|
 | 
						|
func _ready():
 | 
						|
	add_child($Dungeon.generate_geometry())
 | 
						|
	$Camera.position = $Dungeon.get_spawn_point()
 | 
						|
	$Camera.position.y += 0.5
 | 
						|
 | 
						|
 | 
						|
func _process(delta):
 | 
						|
	$Camera.rotate_y(0.01)
 |