HealthChangeContext Struct
Describes a health modification applied to an entity. More...
Declaration
Public Member Attributes Index
| InteractionContext | interactionContext {} |
|
The interaction that caused the health change. More... | |
| float | delta {} |
|
Signed health delta (negative = damage, positive = healing). More... | |
Description
Describes a health modification applied to an entity.
Combines the interaction context (target, instigator, causer, contact point) with a signed delta value. A negative delta represents damage, a positive delta represents healing.
- See Also
- See Also
Definition at line 25 of file HealthChangeContext.ixx.
Public Member Attributes
delta
|
Signed health delta (negative = damage, positive = healing).
Definition at line 35 of file HealthChangeContext.ixx.
interactionContext
|
The interaction that caused the health change.
Definition at line 30 of file HealthChangeContext.ixx.
The documentation for this struct was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.