RequestedAmountIsAvailableCondition.ixx File
Spawn condition checking pool availability for requested amount. More...
Included Headers
#include <cassert>
#include <helios.engine.runtime.world.UpdateContext>
#include <helios.engine.runtime.spawn.policy.SpawnRuleState>
#include <helios.engine.runtime.pooling.GameObjectPoolSnapshot>
#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 | RequestedAmountIsAvailableCondition |
|
Condition verifying the pool has enough inactive entities. More... | |
Description
Spawn condition checking pool availability for requested amount.
File Listing
The file content with the documentation metadata removed is:
16export namespace helios::engine::runtime::spawn::policy::conditions {
47 class RequestedAmountIsAvailableCondition : public SpawnCondition {
61 [[nodiscard]] bool isSatisfied(
63 const SpawnRuleState& spawnState,
64 const helios::engine::runtime::pooling::GameObjectPoolSnapshot poolSnapshot,
65 const helios::engine::runtime::world::UpdateContext& updateContext
80 SpawnRuleState& spawnRuleState,
83 spawnRuleState.setSinceLastSpawn(0.0f);
92 SpawnRuleState& spawnRuleState
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.