Skip to main content

ScorePoolConfig.ixx File

Configuration for score pool association components. 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

classScorePoolConfig

Fluent configuration for ScorePoolComponent setup. More...

Description

Configuration for score pool association components.

File Listing

The file content with the documentation metadata removed is:

1/**
2 * @file ScorePoolConfig.ixx
3 * @brief Configuration for score pool association components.
4 */
5module;
6
7export module helios.engine.builder.gameObject.builders.configs.ScorePoolConfig;
8
9import helios.engine.ecs.GameObject;
10
11
12import helios.engine.mechanics.scoring.types;
13import helios.engine.mechanics.scoring.components.ScorePoolComponent;
14
16
17
18 /**
19 * @brief Fluent configuration for ScorePoolComponent setup.
20 *
21 * Automatically adds ScorePoolComponent and provides methods for
22 * setting the associated score pool ID.
23 */
25
26 /**
27 * @brief Non-owning pointer to the target GameObject.
28 */
30
31 public:
32
33 /**
34 * @brief Constructs a ScorePoolConfig and adds ScorePoolComponent.
35 *
36 * @param gameObject Target GameObject to configure.
37 */
40 }
41
42 /**
43 * @brief Sets the score pool ID for this entity.
44 *
45 * @param scorePoolId The ID of the score pool to associate with.
46 *
47 * @return Reference to this config for chaining.
48 */
51 ->setScorePoolId(scorePoolId);
52 return *this;
53 }
54
55 };
56
57}

Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.