@dcl/sdk 7.0.0-3313983919.commit-4ba44d2 → 7.0.0-3314076256.commit-c624ad4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ecs7/index.d.ts +5 -0
- package/dist/ecs7/index.js +19 -1
- package/dist/ecs7/index.min.js +1 -1
- package/dist/ecs7/index.min.js.map +1 -1
- package/package.json +4 -4
- package/types/ecs7/index.d.ts +5 -0
package/dist/ecs7/index.d.ts
CHANGED
@@ -1227,6 +1227,11 @@ export declare type IEngine = {
|
|
1227
1227
|
* @param entity
|
1228
1228
|
*/
|
1229
1229
|
removeEntity(entity: Entity): void;
|
1230
|
+
/**
|
1231
|
+
* Remove all components of each entity in the tree made with Transform parenting
|
1232
|
+
* @param firstEntity - the root entity of the tree
|
1233
|
+
*/
|
1234
|
+
removeEntityWithChildren(firstEntity: Entity): void;
|
1230
1235
|
/**
|
1231
1236
|
* Add the system to the engine. It will be called every tick updated.
|
1232
1237
|
* @param system function that receives the delta time between last tick and current one.
|