diff --git a/src/init.luau b/src/init.luau index 8356b9b..6cbedb3 100644 --- a/src/init.luau +++ b/src/init.luau @@ -940,6 +940,9 @@ export type WorldShim = typeof(setmetatable( add: (WorldShim, id: Entity, component: Entity) -> (), --- Assigns a value to a component on the given entity set: (WorldShim, id: Entity, component: Entity, data: T) -> (), + + -- Clears an entity from the world + clear: (WorldShim, id: Entity) -> (), --- Removes a component from the given entity remove: (WorldShim, id: Entity, component: Entity) -> (), --- Retrieves the value of up to 4 components. These values may be nil.