|
tess 0.4.0
Performance-first tile and path simulation substrate
|
#include <tess/ecs/entt/entt_adapter.h>
Public Member Functions | |
| void | reserve (std::size_t agent_capacity) |
Public Attributes | |
| PathAgentTickState | tick_state {} |
| PathAgentBatch | batch {} |
| std::vector< EnttAgentEntry > | entries {} |
| std::uint64_t | next_agent_id = 0 |
Persistent tick state and reusable scratch for one EnTT agent system.
Reserve once to avoid warm-path allocations. Persist next_agent_id with the world so collection order remains deterministic across save and load.