mirror of
				https://github.com/Ukendio/jecs.git
				synced 2025-11-04 10:59:18 +00:00 
			
		
		
		
	Remove data generic from entity in hooks
This commit is contained in:
		
							parent
							
								
									3e46b723e9
								
							
						
					
					
						commit
						f2a803c0d8
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		
							
								
								
									
										4
									
								
								jecs.d.ts
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								jecs.d.ts
									
									
									
									
										vendored
									
									
								
							| 
						 | 
					@ -156,8 +156,8 @@ export class World {
 | 
				
			||||||
	 * @param hook The hook to install.
 | 
						 * @param hook The hook to install.
 | 
				
			||||||
	 * @param value The hook callback.
 | 
						 * @param value The hook callback.
 | 
				
			||||||
	 */
 | 
						 */
 | 
				
			||||||
	set<T>(component: Entity<T>, hook: StatefulHook, value: (e: Entity<T>, id: Id<T>, data: T) => void): void;
 | 
						set<T>(component: Entity<T>, hook: StatefulHook, value: (e: Entity, id: Id<T>, data: T) => void): void;
 | 
				
			||||||
	set<T>(component: Entity<T>, hook: StatelessHook, value: (e: Entity<T>, id: Id<T>) => void): void;
 | 
						set<T>(component: Entity<T>, hook: StatelessHook, value: (e: Entity, id: Id<T>) => void): void;
 | 
				
			||||||
	/**
 | 
						/**
 | 
				
			||||||
	 * Assigns a value to a component on the given entity.
 | 
						 * Assigns a value to a component on the given entity.
 | 
				
			||||||
	 * @param entity The target entity.
 | 
						 * @param entity The target entity.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue