Foundation - Entity Enable #9
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
If an entity is enabled then that entity's components are ready to be manipulated. By disabling an entity we make sure that it is basically frozen at its state. This can be achieved with a simple std::unordered_map<Entity, bool>.
Any frozen Entity should be skipped when feeding the std::vector cache data on a system.