Handles enemy spawning and initialization. More...
Functions | |
| void | Enemy_Spawn (EnemyData data, Vec2 position) |
| [Utility] Spawns an enemy of the given type at the specified position | |
Handles enemy spawning and initialization.
Contains functionality for creating new enemy instances based on templates and positioning them in the game world.
[Utility] Spawns an enemy of the given type at the specified position
Creates a new enemy instance based on the provided template and initializes it at the given position. If no position is provided (NULL), a random valid position is chosen.
| data | The enemy data template to use for spawning |
| position | Position vector for enemy spawn location |