diff --git a/lib/commands.ts b/lib/commands.ts index 41642e1..4293c62 100644 --- a/lib/commands.ts +++ b/lib/commands.ts @@ -11,8 +11,7 @@ export const Commands = { const world = useWorld() world.insertResource(resource) }, - trigger(event: Event) { - }, + trigger(event: Event) {}, components(entity: Entity): IterableIterator { const world = useWorld() return world.getEntityComponents(entity).values()