Skip to main content

MenuConfig.ixx File

Fluent configuration for menu GameObjects. More...

Included Headers

Namespaces Index

namespacehelios
namespaceengine

Main engine module aggregating core infrastructure and game systems. More...

namespacebuilder

Fluent builder pattern for constructing GameObjects. More...

namespacegameObject

Factory and prototype classes for GameObject construction. More...

namespacebuilders

Domain-specific builders for configuring different aspects of GameObjects. More...

namespaceconfigs

Fine-grained configuration classes for component setup. More...

Classes Index

classMenuConfig

Fluent configuration for menu GameObjects. More...

Description

Fluent configuration for menu GameObjects.

File Listing

The file content with the documentation metadata removed is:

1/**
2 * @file MenuConfig.ixx
3 * @brief Fluent configuration for menu GameObjects.
4 */
5module;
6
7#include <cassert>
8
9export module helios.engine.builder.gameObject.builders.configs.MenuConfig;
10
11import helios.engine.ecs.GameObject;
12
13import helios.engine.modules.ui.widgets.types.MenuId;
14
15import helios.engine.modules.ui.widgets.components.MenuComponent;
16
17
19
20 /**
21 * @brief Fluent configuration for menu GameObjects.
22 *
23 * Provides a builder-style interface for configuring menu properties
24 * on a GameObject.
25 */
26 class MenuConfig {
27
28 /**
29 * @brief The GameObject being configured.
30 */
32
33 public:
34
35 /**
36 * @brief Constructs a MenuConfig for the given GameObject.
37 *
38 * @param gameObject The GameObject to configure.
39 */
41
42 }
43
44 /**
45 * @brief Sets the menu identifier.
46 *
47 * @param menuId The menu ID to assign.
48 *
49 * @return Reference to this config for method chaining.
50 */
52
54 .setMenuId(menuId);
55
56 return *this;
57 }
58
59 };
60
61}

Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.