Skip to main content

MenuConfig Class

Fluent configuration for menu GameObjects. More...

Declaration

class helios::engine::builder::gameObject::builders::configs::MenuConfig { ... }

Public Constructors Index

MenuConfig (helios::engine::ecs::GameObject gameObject)

Constructs a MenuConfig for the given GameObject. More...

Public Member Functions Index

MenuConfig &menuId (const helios::engine::core::data::MenuId menuId)

Sets the menu identifier. More...

Private Member Attributes Index

helios::engine::ecs::GameObjectgameObject_

The GameObject being configured. More...

Description

Fluent configuration for menu GameObjects.

Provides a builder-style interface for configuring menu properties on a GameObject.

Definition at line 26 of file MenuConfig.ixx.

Public Constructors

MenuConfig()

helios::engine::builder::gameObject::builders::configs::MenuConfig::MenuConfig (helios::engine::ecs::GameObject gameObject)
inline explicit

Constructs a MenuConfig for the given GameObject.

Parameters
<a href="/docs/helios/namespaces/helios/engine/builder/gameobject">gameObject</a>

The GameObject to configure.

Definition at line 40 of file MenuConfig.ixx.

Referenced by menuId.

Public Member Functions

menuId()

MenuConfig & helios::engine::builder::gameObject::builders::configs::MenuConfig::menuId (const helios::engine::core::data::MenuId menuId)
inline

Sets the menu identifier.

Parameters
menuId

The menu ID to assign.

Returns

Reference to this config for method chaining.

Definition at line 51 of file MenuConfig.ixx.

52
54 .setMenuId(menuId);
55
56 return *this;
57 }

References MenuConfig and menuId.

Referenced by menuId.

Private Member Attributes

gameObject_

helios::engine::ecs::GameObject helios::engine::builder::gameObject::builders::configs::MenuConfig::gameObject_

The GameObject being configured.

Definition at line 31 of file MenuConfig.ixx.


The documentation for this class was generated from the following file:


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.