I feel like this whole function should be in a system, not in a component. AgentEmitterComponent should just hold a `std::unordered_map<AgentId, AgentAmount>` of agent amounts to emit. The AgentEmitterSystem should then iterate over that and create the entities.