@dcl/sdk 7.0.0-2650546131.commit-45e34df → 7.0.0-2677486397.commit-094a357

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.
@@ -315,7 +315,8 @@ export declare type IEngine = {
315
315
  addEntity(dynamic?: boolean): Entity;
316
316
  addDynamicEntity(): Entity;
317
317
  removeEntity(entity: Entity): void;
318
- addSystem(system: Update): void;
318
+ addSystem(system: Update, priority?: number, name?: string): void;
319
+ removeSystem(selector: string | Update): boolean;
319
320
  defineComponent<T extends EcsType>(componentId: number, spec: T): ComponentDefinition<T>;
320
321
  mutableGroupOf<T extends [ComponentDefinition, ...ComponentDefinition[]]>(...components: T): Iterable<[Entity, ...ComponentEcsType<T>]>;
321
322
  groupOf<T extends [ComponentDefinition, ...ComponentDefinition[]]>(...components: T): Iterable<[Entity, ...DeepReadonly<ComponentEcsType<T>>]>;
@@ -1735,7 +1736,7 @@ export declare type Unpacked<T> = T extends (infer U)[] ? U : T;
1735
1736
  /**
1736
1737
  * @public
1737
1738
  */
1738
- export declare type Update = (dt: number) => void;
1739
+ declare type Update = (dt: number) => void;
1739
1740
 
1740
1741
  /**
1741
1742
  * @public