DelayedComponentEnablerInitializer.ixx File
Initializer that schedules delayed activation of specified components. More...
Included Headers
#include <cassert>
#include <typeindex>
#include <vector>
#include <helios.engine.core.data.ComponentTypeId>
#include <helios.engine.mechanics.lifecycle.components.DelayedComponentEnabler>
#include <helios.engine.ecs.GameObject>
#include <helios.engine.runtime.spawn.SpawnContext>
#include <helios.engine.runtime.spawn.SpawnPlanCursor>
#include <helios.engine.runtime.spawn.behavior.SpawnInitializer>
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 | behavior |
|
Spawn behavior strategies for positioning and initializing entities. More... | |
| namespace | initializers |
|
Concrete SpawnInitializer implementations. More... | |
Classes Index
| class | DelayedComponentEnablerInitializer<ComponentTypes> |
|
Initializer that schedules delayed activation of arbitrary components. More... | |
Description
Initializer that schedules delayed activation of specified components.
File Listing
The file content with the documentation metadata removed is:
11export module helios.engine.runtime.spawn.behavior.initializers.DelayedComponentEnablerInitializer;
22export namespace helios::engine::runtime::spawn::behavior::initializers {
50 class DelayedComponentEnablerInitializer final : public SpawnInitializer {
79 DelayedComponentEnablerInitializer(const float delay, const size_t cycleLength = 0) :
97 void initialize(
98 helios::engine::ecs::GameObject gameObject,
99 const SpawnPlanCursor& cursor,
100 const SpawnContext& spawnContext
107 for (auto typeId : gameObject.componentTypeIds()) {
116 auto* dec = gameObject.get<helios::engine::mechanics::lifecycle::components::DelayedComponentEnabler>();
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.