Go to file
hypercross cd6350e0b1 feat: add support for data-carrying relationships
Introduce the ability to attach optional data payloads to
relationships. This includes:

- Updating `defineRelationship` to accept default values.
- Adding `getRelData` and `setRelData` to the `World` class.
- Allowing `relate` to accept an optional data override.
- Updating serialization to include relationship data in snapshots.
- Implementing lazy storage for relationship data using `SparseSet`.
2026-06-02 17:56:12 +08:00
examples refactor(examples): reorganized code 2026-06-02 10:39:27 +08:00
src feat: add support for data-carrying relationships 2026-06-02 17:56:12 +08:00
test feat: add support for data-carrying relationships 2026-06-02 17:56:12 +08:00
.gitignore feat: implement core ECS engine with RxJS observability 2026-05-31 15:45:20 +08:00
USAGE.md docs: add singleton components, commands, and behaviour trees 2026-06-02 00:38:26 +08:00
package-lock.json feat(examples): add Tetris game example 2026-06-01 23:18:07 +08:00
package.json feat(examples): add Tetris game example 2026-06-01 23:18:07 +08:00
tsconfig.json feat: implement core ECS engine with RxJS observability 2026-05-31 15:45:20 +08:00
tsup.config.ts feat: add behavior tree implementation 2026-06-01 22:52:10 +08:00
vitest.config.ts test: add vitest and implement unit tests 2026-05-31 15:47:19 +08:00