Definition of a single enemy spawn within a wave. More...
#include <WaveManager.hpp>
Collaboration diagram for gme::EnemySpawn:Public Attributes | |
| ServerEntityType | type |
| Type of enemy to spawn (ENEMY_BASIC, ENEMY_ADVANCED, or BOSS) | |
| float | x |
| Spawn X position (typically off-screen right) | |
| float | y |
| Spawn Y position (vertical placement on screen) | |
| float | health |
| Initial health points for this enemy. | |
| float | spawnDelay |
| Delay in seconds from wave start before spawning this enemy. | |
Definition of a single enemy spawn within a wave.
Specifies all parameters needed to spawn an enemy including type, position, health, and timing. Multiple EnemySpawn instances make up a complete wave.
Definition at line 29 of file WaveManager.hpp.
| float gme::EnemySpawn::health |
Initial health points for this enemy.
Definition at line 34 of file WaveManager.hpp.
Referenced by gme::WaveManager::processSpawns().
| float gme::EnemySpawn::spawnDelay |
Delay in seconds from wave start before spawning this enemy.
Definition at line 35 of file WaveManager.hpp.
Referenced by gme::WaveManager::processSpawns().
| ServerEntityType gme::EnemySpawn::type |
Type of enemy to spawn (ENEMY_BASIC, ENEMY_ADVANCED, or BOSS)
Definition at line 31 of file WaveManager.hpp.
Referenced by gme::WaveManager::processSpawns().
| float gme::EnemySpawn::x |
Spawn X position (typically off-screen right)
Definition at line 32 of file WaveManager.hpp.
Referenced by gme::WaveManager::processSpawns().
| float gme::EnemySpawn::y |
Spawn Y position (vertical placement on screen)
Definition at line 33 of file WaveManager.hpp.
Referenced by gme::WaveManager::processSpawns().