Skip to main content

CombatConfig.ixx File

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

classCombatConfig

File Listing

The file content with the documentation metadata removed is:

1
2module;
3
4#include <cassert>
5#include <memory>
6
7export module helios.engine.builder.gameObject.builders.configs.CombatConfig;
8
9import helios.engine.ecs.GameObject;
10
11import helios.engine.modules.spatial.transform.components;
12
13import helios.engine.mechanics.damage.components;
14
16
18
19
21
22 /**
23 * @brief Non-owning pointer to the target GameObject.
24 */
26
27 public:
28
30
31 }
32
33 /**
34 * @brief Tracks the last damage applied.
35 *
36 * @return Reference to this config for chaining.
37 */
39 gameObject_.getOrAdd<LastDamageComponent>();
40
41 return *this;
42 }
43
44 };
45
46}
47

Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.