Abstract base class for component storage implementations.
virtual ~IComponentStorage()=default
Virtual destructor for proper cleanup of derived classes.
virtual void entity_destroyed(Entity entity)=0
Called when an entity is destroyed to clean up its associated components.
uint32_t Entity
Type alias representing a unique entity identifier in the ECS system.
constexpr Entity NULL_ENTITY
Special entity value indicating an invalid or null entity.