18 lines
		
	
	
		
			245 B
		
	
	
	
		
			Go
		
	
	
	
	
	
		
		
			
		
	
	
			18 lines
		
	
	
		
			245 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| 
								 | 
							
								package actor
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								import (
							 | 
						||
| 
								 | 
							
									"zworld/engine/actor/Component"
							 | 
						||
| 
								 | 
							
								)
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								type FActorCompWrap struct {
							 | 
						||
| 
								 | 
							
									Render Component.IComponent
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								type FActor struct {
							 | 
						||
| 
								 | 
							
									CompList []Component.IComponent
							 | 
						||
| 
								 | 
							
									CompWrap *FActorCompWrap
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								func (r *FActor) Tick(delta float32) {
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								}
							 |