Go to the source code of this file.
◆ spawn_ant_egg()
Spawns an ant egg.
- Parameters
-
ctx | Game context. |
genome | Ant genome. |
fertilized | Whether the egg has been fertilized. |
position | Position at which to spawn an egg. |
- Returns
- Entity ID of the spawned ant egg.
Definition at line 25 of file spawn.cpp.
◆ spawn_ant_larva()
Spawns an ant larva.
- Parameters
-
ctx | Game context. |
genome | Ant genome. |
position | Position at which to spawn an larva. |
- Returns
- Entity ID of the spawned ant larva.
Definition at line 43 of file spawn.cpp.
◆ spawn_worker_ant()
Spawns a worker ant.
- Parameters
-
ctx | Game context. |
genome | Ant genome. |
position | Position at which to spawn a worker ant. |
- Returns
- Entity ID of the spawned worker ant.
Definition at line 61 of file spawn.cpp.