WorldLifecycleManager.ixx File
Manager for deferred world-level lifecycle operations. More...
Included Headers
#include <vector>
#include <helios.engine.common>
#include <helios.engine.mechanics.lifecycle.types>
#include <helios.engine.mechanics.lifecycle.commands.WorldLifecycleCommand>
#include <helios.engine.runtime.world.UpdateContext>
#include <helios.engine.runtime.world.GameWorld>
Namespaces Index
| namespace | helios |
| namespace | engine |
|
Main engine module aggregating core infrastructure and game systems. More... | |
| namespace | mechanics |
|
High-level gameplay systems and components for game logic. More... | |
| namespace | lifecycle |
|
Lifecycle management for entity components and world-level operations. More... | |
Classes Index
| class | WorldLifecycleManager |
|
Manager that processes deferred world lifecycle commands. More... | |
Description
Manager for deferred world-level lifecycle operations.
File Listing
The file content with the documentation metadata removed is:
18using namespace helios::engine::runtime::world;
19using namespace helios::engine::runtime::messaging::command;
20using namespace helios::engine::mechanics::lifecycle::commands;
21using namespace helios::engine::mechanics::lifecycle::types;
23export namespace helios::engine::mechanics::lifecycle {
41 class WorldLifecycleManager {
51 GameWorld* gameWorld_ = nullptr;
64 bool submit(WorldLifecycleCommand cmd) noexcept {
76 gameWorld.registerCommandHandler<WorldLifecycleCommand>(*this);
89 void flush(UpdateContext& updateContext) noexcept {
99 case WorldLifecycleAction::Reset:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.