systems Folder
Files Index
| file | helios/engine/mechanics/spawn/systems/_module.ixx |
|
Aggregate module for helios::engine::mechanics::spawn::systems namespace. More... | |
| file | GameObjectSpawnSystem.ixx |
|
System for processing spawn schedules and enqueuing spawn commands. More... | |
Description
helios::engine::mechanics::spawn::systems
Systems for spawn lifecycle management within the game loop.
Overview
This module contains the GameObjectSpawnSystem which integrates spawning into the game loop. The system evaluates spawn conditions via a SpawnScheduler and enqueues spawn commands for deferred execution.
Key Classes
| System | Purpose |
|---|---|
| GameObjectSpawnSystem | Evaluates SpawnScheduler rules and enqueues ScheduledSpawnPlanCommands |
System Flow
The GameObjectSpawnSystem performs the following each frame:
1. Read Frame Events: Consumes SpawnPlanCommandExecutedEvent from the previous frame 2. Commit Completed Spawns: Updates the scheduler with successful spawn counts 3. Evaluate Conditions: Checks all spawn rules against current conditions 4. Drain Scheduled Plans: Enqueues ready plans as ScheduledSpawnPlanCommand
Usage
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.