diff --git a/src/index.d.ts b/src/index.d.ts index 6ab901a..6a42670 100644 --- a/src/index.d.ts +++ b/src/index.d.ts @@ -55,6 +55,12 @@ export class World { */ target(id: Entity, relation: Entity): Entity | undefined; + /** + * Clears an entity from the world. + * @praram id Entity to be cleared + */ + clear(id: Entity): void; + /** * Deletes an entity and all its related components and relationships. * @param id Entity to be destroyed