Releases: isaac-mason/arancini
Releases · isaac-mason/arancini
@arancini/systems@6.6.0
@arancini/react@6.6.1
@arancini/react@6.6.0
@arancini/events@6.6.1
@arancini/events@6.6.1
@arancini/events@6.6.0
Minor Changes
- d82e4aa: feat: bundle with babel
@arancini/core@6.6.1
Patch Changes
- @arancini/events@6.6.1
@arancini/core@6.6.0
arancini@6.5.0
Minor Changes
-
68cb2b8: feat: remove world.id and world.entity
Computing ids based on object identity is easy to do in userland if required. See below:
let entityIdCounter = 0; const entityToId = new Map<E, number>(); const idToEntity = new Map<number, E>(); const getEntityId = (entity: E) => { let id = entityToId.get(entity); if (id === undefined) { id = entityIdCounter++; entityToId.set(entity, id); } return id; }; const getEntityById = (id: number) => idToEntity.get(id);
-
68cb2b8: feat: remove query.destroy(), use world.destroyQuery instead
Patch Changes
- 68cb2b8: feat: normalize 'not' conditions
- 68cb2b8: fix: return correct type from world.create
- 68cb2b8: feat: minor refactors for iteration performance
- Updated dependencies [68cb2b8]
- Updated dependencies [68cb2b8]
- Updated dependencies [68cb2b8]
- Updated dependencies [68cb2b8]
- Updated dependencies [68cb2b8]
- Updated dependencies [68cb2b8]
- Updated dependencies [68cb2b8]
- @arancini/react@6.5.0
- @arancini/core@6.5.0
- @arancini/systems@6.5.0
- @arancini/events@6.5.0
@arancini/systems@6.5.0
@arancini/react@6.5.0
Minor Changes
- 68cb2b8: feat: throw meaningful errors when using hooks and components outside of required contexts