bootstrap.ixx File
Engine bootstrap: component registration and GameWorld/GameLoop factory. More...
Included Headers
#include <utility>
#include <memory>
#include <helios.engine.modules.registry>
#include <helios.engine.mechanics.match>
#include <helios.engine.mechanics.gamestate>
#include <helios.engine.mechanics.lifecycle>
#include <helios.engine.runtime.messaging.command>
#include <helios.engine.state.Bindings>
#include <helios.engine.ecs.registry>
#include <helios.engine.mechanics.registry>
#include <helios.engine.runtime.world>
#include <helios.engine.runtime.gameloop>
Namespaces Index
| namespace | helios |
| namespace | engine |
|
Main engine module aggregating core infrastructure and game systems. More... | |
| namespace | bootstrap |
Description
Engine bootstrap: component registration and GameWorld/GameLoop factory.
File Listing
The file content with the documentation metadata removed is:
28export namespace helios::engine::bootstrap {
30 using namespace helios::engine::runtime::world;
31 using namespace helios::engine::runtime::gameloop;
53 inline void registerAllComponents() {
108 inline std::pair<std::unique_ptr<GameWorld>, std::unique_ptr<GameLoop>> makeGameWorld() {
112 gameWorld->registerCommandBuffer<helios::engine::runtime::messaging::command::EngineCommandBuffer>();
114 gameWorld->registerManager<helios::engine::mechanics::lifecycle::WorldLifecycleManager>();
115 gameWorld->registerManager<helios::engine::mechanics::gamestate::GameStateManager>(
117 gameWorld->registerManager<helios::engine::mechanics::match::MatchStateManager>(
120 gameWorld->session().trackState<helios::engine::mechanics::gamestate::types::GameState>();
121 gameWorld->session().trackState<helios::engine::mechanics::match::types::MatchState>();
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.