Runs when an agent reproduces. This hook generalizes to [primitive]Reproduce, e.g. the death of an agent with primitive 'bank' would be hooked with bankReproduce. To hook the reproduction of agents of all primitives, use baseAgentReproduce.
Required Parameters
parents — list[Agent]
A list of the reproducing parent agents.
child — Agent
The newly spawned agent.
model — Helipad
The model object.
Notes and Examples