DamageContext Struct
Extends InteractionContext with a damage amount. More...
Declaration
struct helios::engine::common::types::DamageContext { ... }
Public Member Attributes Index
| InteractionContext | interactionContext {} |
|
The underlying interaction between source and target. More... | |
| float | damage {} |
|
Amount of damage to apply. More... | |
Description
Extends InteractionContext with a damage amount.
Carries all information needed to apply damage to a target entity: the participating handles, the contact point (from InteractionContext), and the amount of damage to apply.
- See Also
Definition at line 22 of file DamageContext.ixx.
Public Member Attributes
damage
|
interactionContext
|
The underlying interaction between source and target.
Definition at line 27 of file DamageContext.ixx.
The documentation for this struct was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.