![]() |
Gaia-ECS v1.0.0
A simple and powerful entity component system
|
Marks an id as required. Used directly on a non-pair id, it prevents removing that id from its owners. Used as the relation in (Requires, target), it adds the target with the requiring id and prevents removing the target while the requiring id remains present.
More...
#include <id.h>
Marks an id as required. Used directly on a non-pair id, it prevents removing that id from its owners. Used as the relation in (Requires, target), it adds the target with the requiring id and prevents removing the target while the requiring id remains present.