Configuration data for a single enemy spawn wave. More...
#include <EnemySpawnSystem.hpp>
Collaboration diagram for gme::SpawnWave:Public Attributes | |
| float | spawnTime |
| Time from level start when wave begins (seconds) | |
| int | basicEnemyCount |
| Number of basic enemies to spawn in this wave. | |
| int | advancedEnemyCount |
| Number of advanced enemies to spawn in this wave. | |
| bool | bossSpawn |
| Whether this wave spawns a boss enemy. | |
| float | spawnInterval |
| Time between individual enemy spawns within wave (seconds) | |
| int | spawnedCount |
| Number of enemies already spawned from this wave (internal counter) | |
Configuration data for a single enemy spawn wave.
Defines when and how many enemies spawn during a specific wave. Waves are triggered based on level time and can contain multiple enemy types including bosses. Each wave spawns enemies gradually over time using the spawn interval.
Definition at line 30 of file EnemySpawnSystem.hpp.
| int gme::SpawnWave::advancedEnemyCount |
Number of advanced enemies to spawn in this wave.
Definition at line 34 of file EnemySpawnSystem.hpp.
Referenced by gme::EnemySpawnSystem::initializeWaves(), and gme::EnemySpawnSystem::processWave().
| int gme::SpawnWave::basicEnemyCount |
Number of basic enemies to spawn in this wave.
Definition at line 33 of file EnemySpawnSystem.hpp.
Referenced by gme::EnemySpawnSystem::initializeWaves(), and gme::EnemySpawnSystem::processWave().
| bool gme::SpawnWave::bossSpawn |
Whether this wave spawns a boss enemy.
Definition at line 35 of file EnemySpawnSystem.hpp.
Referenced by gme::EnemySpawnSystem::initializeWaves(), and gme::EnemySpawnSystem::processWave().
| int gme::SpawnWave::spawnedCount |
Number of enemies already spawned from this wave (internal counter)
Definition at line 37 of file EnemySpawnSystem.hpp.
Referenced by gme::EnemySpawnSystem::initializeWaves(), and gme::EnemySpawnSystem::processWave().
| float gme::SpawnWave::spawnInterval |
Time between individual enemy spawns within wave (seconds)
Definition at line 36 of file EnemySpawnSystem.hpp.
Referenced by gme::EnemySpawnSystem::initializeWaves(), and gme::EnemySpawnSystem::processWave().
| float gme::SpawnWave::spawnTime |
Time from level start when wave begins (seconds)
Definition at line 32 of file EnemySpawnSystem.hpp.
Referenced by gme::EnemySpawnSystem::initializeWaves().