Skip to main content

mechanics/damage/registry.ixx File

Component registration for damage module. More...

Included Headers

Namespaces Index

namespacehelios
namespaceengine

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

namespacemechanics

High-level gameplay systems and components for game logic. More...

namespacedamage

Damage dealing system for game entities. More...

Description

Component registration for damage module.

File Listing

The file content with the documentation metadata removed is:

1/**
2 * @file registry.ixx
3 * @brief Component registration for damage module.
4 */
5module;
6
7export module helios.engine.mechanics.damage.registry;
8
9import helios.engine.ecs.ComponentReflector;
10import helios.engine.mechanics.damage.components;
11
13
14 /**
15 * @brief Registers all damage components with the ComponentReflector.
16 */
17 inline void registerComponents() {
19
20 R::registerType<components::DamageDealerComponent>();
21 R::registerType<components::LastDamageComponent>();
22 }
23
24}
25

Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.