MenuConfig.ixx File
Fluent configuration for menu GameObjects. More...
Included Headers
#include <cassert>
#include <helios.engine.modules.ui.widgets.components.MenuComponent>
#include <helios.engine.modules.ui.widgets.types.MenuId>
#include <helios.engine.ecs.GameObject>
Namespaces Index
| namespace | helios |
| namespace | engine |
|
Main engine module aggregating core infrastructure and game systems. More... | |
| namespace | builder |
|
Fluent builder pattern for constructing GameObjects. More... | |
| namespace | gameObject |
|
Factory and prototype classes for GameObject construction. More... | |
| namespace | builders |
|
Domain-specific builders for configuring different aspects of GameObjects. More... | |
| namespace | configs |
|
Fine-grained configuration classes for component setup. More... | |
Classes Index
| class | MenuConfig |
|
Fluent configuration for menu GameObjects. More... | |
Description
Fluent configuration for menu GameObjects.
File Listing
The file content with the documentation metadata removed is:
18export namespace helios::engine::builder::gameObject::builders::configs {
26 class MenuConfig {
31 helios::engine::ecs::GameObject gameObject_;
40 explicit MenuConfig(helios::engine::ecs::GameObject gameObject) : gameObject_(gameObject) {
53 gameObject_.getOrAdd<helios::engine::modules::ui::widgets::components::MenuComponent>()
54 .setMenuId(menuId);
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.