@awesome-ecs/abstract 0.5.5 → 0.6.0

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.
@@ -15,6 +15,7 @@ export interface IEntityRepository {
15
15
  get<TEntity extends IEntity>(type: EntityTypeUid, uid: EntityUid): TEntity;
16
16
  getWithTime<TEntity extends IEntity>(type: EntityTypeUid, uid: EntityUid): StoredEntity<TEntity>;
17
17
  getAll<TEntity extends IEntity>(type: EntityTypeUid): TEntity[];
18
+ listAll(): StoredEntity<IEntity>[];
18
19
  set(entity: IEntity): void;
19
20
  delete(type: EntityTypeUid, uid: EntityUid): void;
20
21
  clear(entityType: EntityTypeUid): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awesome-ecs/abstract",
3
- "version": "0.5.5",
3
+ "version": "0.6.0",
4
4
  "description": "A comprehensive Entity-Component-System (ECS) Architecture implementation. Abstract components.",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -32,5 +32,5 @@
32
32
  "url": "https://github.com/andreicojocaru/awesome-ecs/issues"
33
33
  },
34
34
  "homepage": "https://github.com/andreicojocaru/awesome-ecs#readme",
35
- "gitHead": "03a36e0b5e8af333f3922e331cbacadda408f0cc"
35
+ "gitHead": "6c6fd0210fcaa7e91b3716b7708b7a44a8c3a822"
36
36
  }