Pathwise: Navigation and Crowd Agents Kit
README.md
pool
The shared enemy pool. acquire(kind, look) takes a free enemy of that kind or, when none is free, creates one (a synced entity with the Enemy component and SecondWind Vitals); release hides it and parks it underground with its health switched off; restore revives and heals it to its new maximum for the next spawn. The Spawner calls it on the host for every spawn and despawn; stats() gives the created/reused counters the PoolReadout shows, prewarm fills it ahead of time, and adopt rebuilds its lists when a peer becomes host. Its state lives in modules.state(), so it survives a hot reload.