Skip to content

Class Engine::WaveSpawnerSystem

ClassList > Engine > WaveSpawnerSystem

Spawns scene waves from the WaveSchedule resource.More...

  • #include <WaveSpawnerSystem.hpp>

Inherits the following classes: Engine::System

Public Attributes inherited from Engine::System

See Engine::System

Type Name
std::set< Entity > m_Entities

Public Functions

Type Name
virtual void Update (Registry & registry, float dt) override

Public Functions inherited from Engine::System

See Engine::System

Type Name
virtual void OnSceneUnloaded (Registry & registry)
Called right before the current scene's entities are destroyed.
virtual void Render (Registry & registry)
World pass: drawn inside the active camera.
virtual void RenderScreen (Registry & registry)
Screen pass: drawn after the world, in window pixels.
virtual void Update (Registry & registry, float dt)
virtual ~System () = default

Detailed Description

A wave spawns once the active camera's world X reaches its trigger. The system replaces the old Lua wave-spawner script, so waves are authored in the editor's Waves panel and saved with the scene.

Public Functions Documentation

function Update

virtual void Engine::WaveSpawnerSystem::Update (
    Registry & registry,
    float dt
) override

Implements Engine::System::Update



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