mirror of
https://github.com/Ukendio/jecs.git
synced 2025-08-04 03:09:18 +00:00
Use Id
This commit is contained in:
parent
15cf96ecc3
commit
d3043d9d05
1 changed files with 2 additions and 2 deletions
4
jecs.d.ts
vendored
4
jecs.d.ts
vendored
|
@ -322,5 +322,5 @@ export type ComponentRecord = {
|
||||||
|
|
||||||
export function component_record(world: World, id: Id): ComponentRecord
|
export function component_record(world: World, id: Id): ComponentRecord
|
||||||
|
|
||||||
export function bulk_insert<const C extends Entity[]>(world: World, entity: Entity, ids: C, values: InferComponents<C>): void
|
export function bulk_insert<const C extends Id[]>(world: World, entity: Entity, ids: C, values: InferComponents<C>): void
|
||||||
export function bulk_remove(world: World, entity: Entity, ids: Entity[]): void
|
export function bulk_remove(world: World, entity: Entity, ids: Id[]): void
|
Loading…
Reference in a new issue