Skip to main content

DeadTagComponent.ixx File

Tag component marking an entity as dead. More...

Included Headers

#include <cassert> #include <span> #include <typeindex> #include <memory> #include <vector> #include <helios.core.types> #include <helios.engine.ecs.types.ComponentTypeId> #include <helios.engine.runtime.spawn.types.SpawnProfileId> #include <helios.engine.ecs.GameObject>

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...

namespacelifecycle

Lifecycle management for entity components and world-level operations. More...

namespacecomponents

Components for managing entity lifecycle states. More...

Classes Index

classDeadTagComponent

Marker component attached to entities whose health has been depleted. More...

Description

Tag component marking an entity as dead.

File Listing

The file content with the documentation metadata removed is:

1/**
2 * @file DeadTagComponent.ixx
3 * @brief Tag component marking an entity as dead.
4 */
5module;
6
7#include <cassert>
8#include <span>
9#include <typeindex>
10#include <memory>
11#include <vector>
12
13export module helios.engine.mechanics.lifecycle.components.DeadTagComponent;
14
15
16
17import helios.engine.ecs.GameObject;
18import helios.engine.runtime.spawn.types.SpawnProfileId;
19import helios.engine.ecs.types.ComponentTypeId;
20import helios.core.types;
21
23
24 /**
25 * @brief Marker component attached to entities whose health has been depleted.
26 *
27 * Systems can query for DeadTagComponent to apply death-related logic
28 * (e.g. scoring, VFX, cleanup) without re-checking health values.
29 * Move-only; copying is not permitted.
30 */
32
33 public:
34 DeadTagComponent() = default;
35
36 DeadTagComponent(const DeadTagComponent& other) = delete;
38
40 DeadTagComponent(DeadTagComponent&&) noexcept = default;
41
42
43 };
44
45}

Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.