Manages enemy spawning and room encounters. More...
#include <enemy.h>#include <maps.h>#include <enemy_types.h>#include <player.h>#include <time_system.h>#include <random.h>Functions | |
| int | EnemyManage_CountEnemyInChunk (EnvironmentChunk *chunk) |
| [Utility] Counts the number of active enemies in a specific chunk | |
| void | EnemyManager_Update () |
| [PostUpdate] Updates the enemy management system | |
| void | EnemyManager_RenderClearText () |
Variables | |
| float | currentClearTextAlpha = 0 |
Manages enemy spawning and room encounters.
Handles room-based enemy spawning, wave generation, and combat state transitions for the player.
| int EnemyManage_CountEnemyInChunk | ( | EnvironmentChunk * | chunk | ) |
[Utility] Counts the number of active enemies in a specific chunk
| chunk | Pointer to the chunk to check |
| void EnemyManager_RenderClearText | ( | ) |
| void EnemyManager_Update | ( | ) |
[PostUpdate] Updates the enemy management system
Handles enemy spawning, despawning, and room transitions. Manages which enemies are active based on player position.
| float currentClearTextAlpha = 0 |