Foundation - Entity Enable #9

Open
opened 2026-01-06 02:27:09 +01:00 by cat · 2 comments
Owner

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.

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.
cat added this to the Tourmaline Engine - Basics project 2026-01-06 02:27:09 +01:00
cat added the Kind/Feature
Priority
Low
4
labels 2026-01-06 02:27:26 +01:00
cat added a new dependency 2026-01-06 21:21:05 +01:00
cat removed a dependency 2026-01-06 21:21:10 +01:00
cat moved this to In Progress in Tourmaline Engine - Basics on 2026-01-08 23:24:09 +01:00
Author
Owner

This can be done with just a component called "isEnabled" or maybe a more general component of "Status". I'm currently more leaning to isEnabled since then DKM can automatically get which entities are enabled.

This can be done with just a component called "isEnabled" or maybe a more general component of "Status". I'm currently more leaning to isEnabled since then DKM can automatically get which entities are enabled.
Author
Owner

oh also instead of enable I intend to call this "Active"

oh also instead of enable I intend to call this "Active"
cat moved this to On Hold in Tourmaline Engine - Basics on 2026-02-02 04:24:57 +01:00
Sign in to join this conversation.