Skip to main content

MenuBuilder.ixx File

Builder for creating menu and menu item configurations. 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...

Classes Index

classMenuBuilder

Builder for creating menu and menu item configurations. More...

Description

Builder for creating menu and menu item configurations.

File Listing

The file content with the documentation metadata removed is:

1/**
2 * @file MenuBuilder.ixx
3 * @brief Builder for creating menu and menu item configurations.
4 */
5module;
6
7export module helios.engine.builder.gameObject.builders.MenuBuilder;
8
9import helios.engine.ecs.GameObject;
10import helios.engine.builder.gameObject.builders.configs.MenuConfig;
11import helios.engine.builder.gameObject.builders.configs.MenuItemConfig;
12
14
15 /**
16 * @brief Builder for creating menu and menu item configurations.
17 *
18 * Provides factory methods to create MenuConfig and MenuItemConfig
19 * instances for fluent menu construction.
20 */
21 class MenuBuilder {
22
23 /**
24 * @brief The GameObject being configured.
25 */
27
28 public:
29
30 /**
31 * @brief Constructs a MenuBuilder for the given GameObject.
32 *
33 * @param gameObject The GameObject to configure.
34 */
36
37 /**
38 * @brief Creates a menu configuration for this GameObject.
39 *
40 * @return A MenuConfig for fluent configuration.
41 */
44 }
45
46 /**
47 * @brief Creates a menu item configuration attached to a parent menu.
48 *
49 * @param parentMenu The parent menu GameObject (must have MenuComponent).
50 *
51 * @return A MenuItemConfig for fluent configuration.
52 */
55 ) {
57 }
58
59 };
60
61}

Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.