Monad Engine da02fba2
> Undercity Codex_
Loading...
Searching...
No Matches
mnd::DamageInfo Struct Reference

#include <HealthComponent.h>

+ Collaboration diagram for mnd::DamageInfo:

Public Attributes

GameObjectattacker = nullptr
 
float amount = 0.0F
 
vec3 hitPoint {0.0F}
 
vec3 hitNormal {0.0F}
 

Detailed Description

Definition at line 22 of file HealthComponent.h.

Member Data Documentation

◆ amount

float mnd::DamageInfo::amount = 0.0F

Definition at line 25 of file HealthComponent.h.

Referenced by mnd::HealthComponent::ApplyDamage().

◆ attacker

GameObject* mnd::DamageInfo::attacker = nullptr

Definition at line 24 of file HealthComponent.h.

◆ hitNormal

vec3 mnd::DamageInfo::hitNormal {0.0F}

Definition at line 27 of file HealthComponent.h.

◆ hitPoint

vec3 mnd::DamageInfo::hitPoint {0.0F}

Definition at line 26 of file HealthComponent.h.


The documentation for this struct was generated from the following file: