Skip to main content

InteractionContext.ixx File

Context struct describing a generic entity-to-entity interaction. More...

Included Headers

#include <helios.engine.ecs.EntityHandle> #include <helios.core.types> #include <helios.util> #include <helios.math>

Namespaces Index

namespacehelios
namespaceengine

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

namespacecommon

Shared type definitions, concepts, and tags used across engine subsystems. More...

namespacetypes

Shared context structs for entity-to-entity interactions. More...

Classes Index

structInteractionContext

Describes a generic interaction between entities. More...

Description

Context struct describing a generic entity-to-entity interaction.

File Listing

The file content with the documentation metadata removed is:

1/**
2 * @file InteractionContext.ixx
3 * @brief Context struct describing a generic entity-to-entity interaction.
4 */
5
6export module helios.engine.common.types.InteractionContext;
7
8import helios.math;
9
10import helios.util;
11
12import helios.core.types;
13
14import helios.engine.ecs.EntityHandle;
15
16export namespace helios::engine::common::types {
17
18 /**
19 * @brief Describes a generic interaction between entities.
20 *
21 * Carries the participating entity handles and the world-space contact
22 * point. Used as a base context for more specific interaction types
23 * such as DamageContext.
24 */
26
27 /**
28 * @brief Entity that is affected by the interaction.
29 */
31
32 /**
33 * @brief Entity that initiated the interaction.
34 */
36
37 /**
38 * @brief Entity that directly caused the interaction (e.g. projectile).
39 */
41
42 /**
43 * @brief World-space contact point of the interaction.
44 */
46
47 };
48
49}

Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.