kgorking / ecs

A header-only/importable c++20 implementation of an entity-component-system (ecs), with focus on a simple interface and speed.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ecs::ref<> for referencing components on other entities

kgorking opened this issue · comments

This would enable disallowing get_components() from being called from systems, which can circumvent race condition prevention.

Mechanism already exist in ecs::parent<>, should be easy to reuse.