HealthChangedEvent.ixx File
Event emitted when an entity's health changes. More...
Included Headers
#include <optional>
#include <helios.engine.ecs.EntityHandle>
#include <helios.engine.mechanics.health.types.HealthChangeContext>
#include <helios.math>
#include <helios.core.types>
#include <helios.util.Guid>
Namespaces Index
| namespace | helios |
| namespace | engine |
|
Main engine module aggregating core infrastructure and game systems. More... | |
| namespace | mechanics |
|
High-level gameplay systems and components for game logic. More... | |
| namespace | health |
|
Health management system for game entities. More... | |
| namespace | events |
|
Health-related events. More... | |
Classes Index
| class | HealthChangedEvent |
|
Event carrying details of a health modification. More... | |
Description
Event emitted when an entity's health changes.
File Listing
The file content with the documentation metadata removed is:
18export namespace helios::engine::mechanics::health::events {
26 class HealthChangedEvent {
31 helios::engine::mechanics::health::types::HealthChangeContext healthChangeContext_;
40 explicit HealthChangedEvent(
42 ) : healthChangeContext_(HealthChangeContext) {}
49 [[nodiscard]] helios::engine::mechanics::health::types::HealthChangeContext HealthChangeContext() const noexcept {
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.