iacobson / ecspanse

Entity Component System (ECS) library for Elixir, offering a suite of features including: flexible queries with multiple filters, dynamic bidirectional relationships, versatile tagging capabilities, system event subscriptions, or asynchronous system execution.
https://hexdocs.pm/ecspanse
Apache License 2.0
59 stars 7 forks source link

Query ancestors #5

Closed iacobson closed 11 months ago

iacobson commented 11 months ago

The current queries permit searching for descendants entities. Introduce also the possibility to query ancestors.

In the context of the Orbituary game, there are orbital ring entities, that have orbital nodes, that hold the players. It would be useful to query the orbital ring directly starting from the player entity.