User Guide
API Reference
Entity management system.
EntityManager
Manages all entities in the game.
Spawn a new pig at a random valid location.
Spawn a new villager at a random valid location.
Check if a new pig should be spawned.
Remove one pig (send to another island).
Remove half the pigs for emergency feast.
Get current number of pigs.
Get current number of villagers.
Update all entities.
Render all entities.