Struct Engine::WaveDefinition¶
ClassList > Engine > WaveDefinition
One enemy wave configured from the visual editor. More...
#include <WaveSchedule.hpp>
Public Attributes¶
| Type | Name |
|---|---|
| bool | attachParent = false |
| float | baseY = 0.0f |
| unsigned int | count = 1 |
| WavePatternType | formation = WavePatternType::Line |
| std::string | groupScriptPath |
| std::string | name = "Wave" |
| std::string | prefabPath |
| float | spacing = 100.0f |
| float | spawnOffsetX = 900.0f |
| float | triggerX = 0.0f |
Detailed Description¶
The runtime WaveSpawnerSystem spawns the wave once the active camera reaches triggerX, then positions the formation at cameraX + spawnOffsetX and baseY.
Public Attributes Documentation¶
variable attachParent¶
variable baseY¶
variable count¶
variable formation¶
variable groupScriptPath¶
variable name¶
variable prefabPath¶
variable spacing¶
variable spawnOffsetX¶
variable triggerX¶
The documentation for this class was generated from the following file /home/runner/work/r-type/r-type/Engine/include/Resources/WaveSchedule.hpp