-
Notifications
You must be signed in to change notification settings - Fork 110
Lifecycles
Daan van Yperen edited this page May 30, 2019
·
3 revisions
Provides a more in depth guide for the odb lifecycles.
world.process
iterates over each system, subscriptions are only updated right before and after a system runs, and frozen while a system processes.
Some lifecycle events are postponed to the end of world.process
(see entity deletion lifecycle below).
When you delete an entity, it will still exist for the engine while the world processes. However, between each system entity subscriptions are updated and this effectively hides the entity from other systems still to be processed.
Accessing entities that have been deleted and are still active is discouraged as subscription listeners might alter an entities composition upon deletion (release components etc).
- Overview
- Concepts
- Getting Started
- Using
- More guides
- Plugins
- Game Gallery
- Tools and Frameworks
- API reference