ECS::World::Root
Inherits Reference < Object
This is our internal mutable state container for the world, where we will put anything we need to access from Crystal which isn't in flecs.
In it, we can store the equivalent of global variables as properties.
These properties are not truly global because each World has its own Root. The properties will be defined in other files, often from within macros.
Instance methods
The id of the Component component is stored here in the World Root.
The id of the Component component is stored here in the World Root.
The id of the Member component is stored here in the World Root.
The id of the Member component is stored here in the World Root.
The id of the OnAdd entity is stored here in the World Root.
The id of the OnAdd entity is stored here in the World Root.
The id of the OnDelete entity is stored here in the World Root.
The id of the OnDelete entity is stored here in the World Root.
The id of the OnRemove entity is stored here in the World Root.
The id of the OnRemove entity is stored here in the World Root.
The id of the OnSet entity is stored here in the World Root.
The id of the OnSet entity is stored here in the World Root.
The id of the UnSet entity is stored here in the World Root.
The id of the UnSet entity is stored here in the World Root.