Observable ECS for Godot / Unity ?
Go to file
hypercross 48f3319615 feat: add relationship components and reverse indexing
Introduces a relationship system to allow entities to point to other
entities. Includes a `Relationship<TSelf, TTarget>` component and a
`RelationshipIndex` to enable efficient reverse lookups (finding all
sources pointing to a specific target).

The `World.DestroyEntity` method now performs cascading removals:
- Relationships where the entity is the source are removed.
- Relationships where the entity is the target are removed from their
  respective source entities.

Also adds MessagePack support to `Entity` and `Relationship`.
2026-07-18 19:42:59 +08:00
docs docs: add ADR-012 and MessagePack serialization guidelines 2026-07-18 19:07:22 +08:00
src/OECS feat: add relationship components and reverse indexing 2026-07-18 19:42:59 +08:00
tests/OECS.Tests feat: add relationship components and reverse indexing 2026-07-18 19:42:59 +08:00
.gitignore feat: initialize OECS project structure 2026-07-18 19:03:37 +08:00
OECS.sln feat: initialize OECS project structure 2026-07-18 19:03:37 +08:00
design.md docs: add ADR-012 and MessagePack serialization guidelines 2026-07-18 19:07:22 +08:00