TimerSpawnCondition.ixx File
Time-based spawn condition for interval-controlled spawning. More...
Included Headers
#include <cassert>
#include <helios.engine.runtime.world.UpdateContext>
#include <helios.engine.runtime.pooling.GameObjectPoolSnapshot>
#include <helios.engine.runtime.spawn.policy.SpawnRuleState>
#include <helios.engine.runtime.spawn.policy.SpawnCondition>
Namespaces Index
| namespace | helios |
| namespace | engine |
|
Main engine module aggregating core infrastructure and game systems. More... | |
| namespace | runtime |
|
Runtime infrastructure for game execution and lifecycle orchestration. More... | |
| namespace | spawn |
|
Entity spawning infrastructure for the helios engine. More... | |
| namespace | policy |
|
Spawn rules, conditions, and amount providers. More... | |
| namespace | conditions |
|
Spawn conditions for controlling spawn timing. More... | |
Classes Index
| class | TimerSpawnCondition |
|
A SpawnCondition that triggers spawning at fixed time intervals. More... | |
Description
Time-based spawn condition for interval-controlled spawning.
File Listing
The file content with the documentation metadata removed is:
16export namespace helios::engine::runtime::spawn::policy::conditions {
45 class TimerSpawnCondition : public SpawnCondition {
66 explicit TimerSpawnCondition(const float interval)
81 [[nodiscard]] bool isSatisfied(
83 const SpawnRuleState& spawnState,
84 const helios::engine::runtime::pooling::GameObjectPoolSnapshot poolSnapshot,
85 const helios::engine::runtime::world::UpdateContext& updateContext
97 SpawnRuleState& spawnRuleState,
100 spawnRuleState.setSinceLastSpawn(0.0f);
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.