types Folder
Files Index
| file | helios/engine/mechanics/health/types/_module.ixx |
|
Aggregator for health type definitions. More... | |
| file | HealthChangeContext.ixx |
|
Context data describing a health change applied to an entity. More... | |
| file | HealthDepletedBehavior.ixx |
|
Bitmask flags controlling the response when health reaches zero. More... | |
Description
helios::engine::mechanics::health::types
Type definitions for the health system.
Types
| Type | Description |
|---|---|
| HealthDepletedBehavior | Bitmask flags controlling the response when health reaches zero |
| HealthChangeContext | Context struct describing a health modification |
HealthDepletedBehavior
Bitmask enum with values:
- None – No action
- Despawn – Queue the entity for despawning
- DeadTag – Attach a DeadTagComponent
Supports bitwise operators and hasHealthDepletedFlag() for testing.
HealthChangeContext
Lightweight struct carrying:
- interactionContext – An InteractionContext describing target, instigator, causer, and contact point
- delta – Signed health delta (negative for damage, positive for healing)
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.