Skip to content

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

bool Engine::WaveDefinition::attachParent;

variable baseY

float Engine::WaveDefinition::baseY;

variable count

unsigned int Engine::WaveDefinition::count;

variable formation

WavePatternType Engine::WaveDefinition::formation;

variable groupScriptPath

std::string Engine::WaveDefinition::groupScriptPath;

variable name

std::string Engine::WaveDefinition::name;

variable prefabPath

std::string Engine::WaveDefinition::prefabPath;

variable spacing

float Engine::WaveDefinition::spacing;

variable spawnOffsetX

float Engine::WaveDefinition::spawnOffsetX;

variable triggerX

float Engine::WaveDefinition::triggerX;


The documentation for this class was generated from the following file /home/runner/work/r-type/r-type/Engine/include/Resources/WaveSchedule.hpp