SpawnAll.ixx File
Spawn amount provider that spawns all available pool objects. More...
Included Headers
#include <helios.engine.runtime.world.GameWorld>
#include <helios.engine.runtime.world.UpdateContext>
#include <helios.engine.runtime.pooling.GameObjectPoolManager>
#include <helios.engine.runtime.spawn.policy.amount.SpawnAmountProvider>
#include <helios.engine.runtime.spawn.policy.SpawnRuleState>
#include <helios.engine.runtime.pooling.types.GameObjectPoolId>
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 | amount |
|
Spawn amount providers for determining spawn quantities. More... | |
Classes Index
| class | SpawnAll |
|
Spawns all inactive objects from a pool. More... | |
Description
Spawn amount provider that spawns all available pool objects.
File Listing
The file content with the documentation metadata removed is:
19export namespace helios::engine::runtime::spawn::policy::amount {
32 class SpawnAll : public SpawnAmountProvider {
40 const helios::engine::runtime::pooling::types::GameObjectPoolId gameObjectPoolId,
41 const SpawnRuleState& spawnRuleState,
42 const helios::engine::runtime::world::GameWorld& gameWorld,
43 const helios::engine::runtime::world::UpdateContext& updateContext
45 const auto* manager = gameWorld.tryManager<helios::engine::runtime::pooling::GameObjectPoolManager>();
49 return manager->poolSnapshot(gameObjectPoolId).inactiveCount;
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.